outposts: fix docker controller not stopping containers
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> #1859
This commit is contained in:
parent
e3129c1067
commit
7eda794070
|
@ -225,7 +225,7 @@ class DockerController(BaseController):
|
|||
raise ControllerException(str(exc)) from exc
|
||||
|
||||
def down(self):
|
||||
if self.outpost.managed != MANAGED_OUTPOST:
|
||||
if self.outpost.managed == MANAGED_OUTPOST:
|
||||
return
|
||||
try:
|
||||
container, _ = self._get_container()
|
||||
|
|
Reference in New Issue