diff options
| author | Joey Hess <joey@kitenet.net> | 2014-10-10 13:25:30 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-10-10 13:25:30 -0400 |
| commit | c120355272a057c0e1f3dee420b479b56fb07fe9 (patch) | |
| tree | 63f888c1576a8a1ebcfb27f74c4fe285fa9c3bc7 /src | |
| parent | 6ea324c613c5f1f4ddb1a5894be16eca4b39adb8 (diff) | |
propellor spin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Docker.hs | 1 |
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) |
