layout
This commit is contained in:
parent
cd10ceb976
commit
a552434370
|
@ -54,13 +54,12 @@ docked findc hn cn = findContainer findc hn cn $
|
||||||
runningContainer cid image containerprops
|
runningContainer cid image containerprops
|
||||||
`requires`
|
`requires`
|
||||||
installed
|
installed
|
||||||
teardown =
|
teardown = Property ("undocked " ++ fromContainerId cid) $
|
||||||
Property ("undocked " ++ fromContainerId cid) $
|
report <$> mapM id
|
||||||
report <$> mapM id
|
[ stopContainerIfRunning cid
|
||||||
[ stopContainerIfRunning cid
|
, removeContainer cid
|
||||||
, removeContainer cid
|
, removeImage image
|
||||||
, removeImage image
|
]
|
||||||
]
|
|
||||||
in RevertableProperty setup teardown
|
in RevertableProperty setup teardown
|
||||||
where
|
where
|
||||||
cid = ContainerId hn cn
|
cid = ContainerId hn cn
|
||||||
|
|
Loading…
Reference in New Issue