From c120355272a057c0e1f3dee420b479b56fb07fe9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 10 Oct 2014 13:25:30 -0400 Subject: propellor spin --- src/Propellor/Property/Docker.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Propellor/Property') 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) -- cgit v1.2.3