From 0b61d540862337e2204f49eaafaf01421abd574d Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 9 Dec 2024 15:49:42 +0000 Subject: [PATCH] fix linter --- plugins/gcp/fix_plugin_gcp/resources/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gcp/fix_plugin_gcp/resources/base.py b/plugins/gcp/fix_plugin_gcp/resources/base.py index 4f0ebe9a2..e696b1000 100644 --- a/plugins/gcp/fix_plugin_gcp/resources/base.py +++ b/plugins/gcp/fix_plugin_gcp/resources/base.py @@ -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"]: