summaryrefslogtreecommitdiff
path: root/Propellor/Property
diff options
context:
space:
mode:
authorJoey Hess2014-04-04 15:59:48 -0400
committerJoey Hess2014-04-04 15:59:48 -0400
commit1f783394c0f3c7796161b7fce16d2523d26c355e (patch)
treef16865038b2005150df4ac2c77fa1920a3af988a /Propellor/Property
parent075a8eac5b66f0da4e7054002155ebfddde38f7f (diff)
propellor spin
Diffstat (limited to 'Propellor/Property')
-rw-r--r--Propellor/Property/Docker.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Propellor/Property/Docker.hs b/Propellor/Property/Docker.hs
index 6be8c4e2..493fdf57 100644
--- a/Propellor/Property/Docker.hs
+++ b/Propellor/Property/Docker.hs
@@ -230,6 +230,7 @@ runningContainer cid@(ContainerId hn cn) image containerprops = containerDesc ci
if runningident == Just ident
then return NoChange
else do
+ print "stopping!"
void $ stopContainer cid
restartcontainer
else ifM (elem cid <$> listContainers AllContainers)