From c120355272a057c0e1f3dee420b479b56fb07fe9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 10 Oct 2014 13:25:30 -0400 Subject: [PATCH] propellor spin --- src/Propellor/Property/Docker.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Propellor/Property/Docker.hs b/src/Propellor/Property/Docker.hs index e5c26f6..65b65f5 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)