Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
1101-1 committed Dec 9, 2024
1 parent cdf7329 commit 0b61d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gcp/fix_plugin_gcp/resources/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def set_region(region_name: str) -> bool:
location_name = source[LocationProp].lower().rsplit("/", 1)[-1]
if set_zone_or_region(location_name):
return

parts = node.id.split("/", maxsplit=4)
if len(parts) > 3 and parts[0] == "projects":
if parts[2] in ["locations", "zones", "regions"]:
Expand Down

0 comments on commit 0b61d54

Please sign in to comment.