propellor spin

This commit is contained in:
Joey Hess 2014-10-10 13:25:30 -04:00
parent 6ea324c613
commit c120355272
Failed to extract signature
1 changed files with 1 additions and 0 deletions

View File

@ -322,6 +322,7 @@ runningContainer cid@(ContainerId hn cn) image runps = containerDesc cid $ prope
if runningident == Just ident if runningident == Just ident
then noChange then noChange
else do else do
liftIO $ print ("runningident", runningident, "vs", ident)
void $ liftIO $ stopContainer cid void $ liftIO $ stopContainer cid
restartcontainer restartcontainer
else ifM (liftIO $ elem cid <$> listContainers AllContainers) else ifM (liftIO $ elem cid <$> listContainers AllContainers)