diff --git a/main.py b/main.py index 7dfa6a7..2674702 100644 --- a/main.py +++ b/main.py @@ -72,7 +72,7 @@ def watch_hpa(args) -> None: args.hpa_namespace, label_selector=args.hpa_label_selector, ): - update_hpa(event["external"].metadata) + update_hpa(event["object"].metadata) except kubernetes.client.exceptions.ApiException as exc: if exc.status != 410: raise exc