Skip to content

Commit

Permalink
object-to-external
Browse files Browse the repository at this point in the history
  • Loading branch information
Kais committed Jul 2, 2024
1 parent c70a814 commit 9916d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9916d49

Please sign in to comment.