outposts: fix syntax

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-08-15 20:59:37 +02:00
parent c8dc299ae3
commit 0a6efab7cb
3 changed files with 16 additions and 11 deletions

View File

@ -168,7 +168,7 @@ class DockerController(BaseController):
def down(self):
if self.outpost.managed != "":
return None
return
try:
container, _ = self._get_container()
if container.status == "running":