diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-04 15:59:48 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-04 15:59:48 -0400 |
| commit | 1f783394c0f3c7796161b7fce16d2523d26c355e (patch) | |
| tree | f16865038b2005150df4ac2c77fa1920a3af988a | |
| parent | 075a8eac5b66f0da4e7054002155ebfddde38f7f (diff) | |
propellor spin
| -rw-r--r-- | Propellor/Property/Docker.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Propellor/Property/Docker.hs b/Propellor/Property/Docker.hs index 6be8c4e2..493fdf57 100644 --- a/Propellor/Property/Docker.hs +++ b/Propellor/Property/Docker.hs @@ -230,6 +230,7 @@ runningContainer cid@(ContainerId hn cn) image containerprops = containerDesc ci if runningident == Just ident then return NoChange else do + print "stopping!" void $ stopContainer cid restartcontainer else ifM (elem cid <$> listContainers AllContainers) |
