summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Docker.hs
diff options
context:
space:
mode:
authorJoey Hess2014-10-10 13:25:30 -0400
committerJoey Hess2014-10-10 13:25:30 -0400
commitc120355272a057c0e1f3dee420b479b56fb07fe9 (patch)
tree63f888c1576a8a1ebcfb27f74c4fe285fa9c3bc7 /src/Propellor/Property/Docker.hs
parent6ea324c613c5f1f4ddb1a5894be16eca4b39adb8 (diff)
propellor spin
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 e5c26f6d..65b65f5e 100644
--- a/src/Propellor/Property/Docker.hs
+++ b/src/Propellor/Property/Docker.hs
@@ -322,6 +322,7 @@ runningContainer cid@(ContainerId hn cn) image runps = containerDesc cid $ prope
if runningident == Just ident
then noChange
else do
+ liftIO $ print ("runningident", runningident, "vs", ident)
void $ liftIO $ stopContainer cid
restartcontainer
else ifM (liftIO $ elem cid <$> listContainers AllContainers)