outposts: fix docker controller not stopping containers

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#1859
This commit is contained in:
Jens Langhammer 2021-12-11 14:00:15 +01:00
parent e3129c1067
commit 7eda794070
1 changed files with 1 additions and 1 deletions

View File

@ -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()