propellor spin

This commit is contained in:
Joey Hess 2014-10-10 13:21:42 -04:00
parent f9258ad68a
commit ff9647cf9d
Failed to extract signature
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ runningContainer cid@(ContainerId hn cn) image runps = containerDesc cid $ prope
restartcontainer = do
oldimage <- liftIO $ fromMaybe image <$> commitContainer cid
liftIO $ print ("restarting", oldimage)
void $ liftIO $ removeContainer cid
go oldimage