providers/proxy: missing @property for noop

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-11 01:26:01 +02:00
parent 0f1cc86e71
commit 932b19999e
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ class TraefikMiddlewareReconciler(KubernetesObjectReconciler[TraefikMiddleware])
self.api_ex = ApiextensionsV1Api(controller.client) self.api_ex = ApiextensionsV1Api(controller.client)
self.api = CustomObjectsApi(controller.client) self.api = CustomObjectsApi(controller.client)
@property
def noop(self) -> bool: def noop(self) -> bool:
if not ProxyProvider.objects.filter( if not ProxyProvider.objects.filter(
outpost__in=[self.controller.outpost], outpost__in=[self.controller.outpost],