Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Nov 11, 2023
1 parent 79051c7 commit 8be402a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions performance_measurement/measure_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ def check_labels(desired_labels: dict, sts_object: k8s_models.V1StatefulSet) ->
return False

for pod_label in sts_object["spec"]["template"]["metadata"]["labels"]:
if pod_label.startswith("anvil.dev/"):
# allow anvil labels
if pod_label == "app":
# allow app label
continue
if desired_labels is None or pod_label not in desired_labels:
# annotation is not in input, but in sts
Expand Down

0 comments on commit 8be402a

Please sign in to comment.