From 7eda7940701cb7d6d737fae1a30d25235acc5221 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 11 Dec 2021 14:00:15 +0100 Subject: [PATCH] outposts: fix docker controller not stopping containers Signed-off-by: Jens Langhammer #1859 --- authentik/outposts/controllers/docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/outposts/controllers/docker.py b/authentik/outposts/controllers/docker.py index a816cf323..c032718cd 100644 --- a/authentik/outposts/controllers/docker.py +++ b/authentik/outposts/controllers/docker.py @@ -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()