summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Docker.hs
diff options
context:
space:
mode:
authorJoey Hess2016-03-27 16:36:05 -0400
committerJoey Hess2016-03-27 16:36:05 -0400
commit5a04a37a4239c99b7367f796acee0ba6f1216879 (patch)
tree680d2eabf229b467f9f1e451e38f24c945427626 /src/Propellor/Property/Docker.hs
parent0b0ea182ab3301ade8b87b1be1cdecc3464cd1da (diff)
ported Systemd
added mising method in docker
Diffstat (limited to 'src/Propellor/Property/Docker.hs')
-rw-r--r--src/Propellor/Property/Docker.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Property/Docker.hs b/src/Propellor/Property/Docker.hs
index 041e1987..3cb91fd4 100644
--- a/src/Propellor/Property/Docker.hs
+++ b/src/Propellor/Property/Docker.hs
@@ -93,6 +93,7 @@ data Container = Container Image Host
instance IsContainer Container where
containerProperties (Container _ h) = containerProperties h
containerInfo (Container _ h) = containerInfo h
+ setContainerProperties (Container i h) ps = Container i (setContainerProperties h ps)
class HasImage a where
getImageName :: a -> Image