outposts: Fix infinite self-recursion in traefik reconciler. (#6336)

Fix infinite self-recursion in traefik reconciler.
This commit is contained in:
Yip Rui Fung 2023-07-24 18:25:29 +08:00 committed by GitHub
parent 8d4b7ce8d3
commit 346c6e6a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -26,19 +26,19 @@ class TraefikMiddlewareReconciler(KubernetesObjectReconciler):
return self.reconciler.noop
def reconcile(self, current: TraefikMiddleware, reference: TraefikMiddleware):
return self.reconcile(current, reference)
return self.reconciler.reconcile(current, reference)
def get_reference_object(self) -> TraefikMiddleware:
return self.get_reference_object()
return self.reconciler.get_reference_object()
def create(self, reference: TraefikMiddleware):
return self.create(reference)
return self.reconciler.create(reference)
def delete(self, reference: TraefikMiddleware):
return self.delete(reference)
return self.reconciler.delete(reference)
def retrieve(self) -> TraefikMiddleware:
return self.retrieve()
return self.reconciler.retrieve()
def update(self, current: TraefikMiddleware, reference: TraefikMiddleware):
return self.update(current, reference)
return self.reconciler.update(current, reference)