Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
soares-sergio and andy31415 authored Nov 18, 2024
1 parent ab056da commit eab3f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/zap_cluster_rev/zap_cluster_rev.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def main():
outdated_count += len(outdated_clusters)
print(*outdated_clusters, sep='\n')

if (args.print_only):
if args.print_only:
continue

# Update outdated cluster revisions according to the spec
Expand All @@ -90,7 +90,7 @@ def main():
save_zap(body, zap_filename)

# If it's printing only, return the number of outdated clusters, so it can be used as a test
if (args.print_only):
if args.print_only:
return outdated_count


Expand Down

0 comments on commit eab3f2b

Please sign in to comment.