Skip to content

Commit 676276a

Browse files
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent d1f8e15 commit 676276a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/modify_vpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def modify_vpcs(blueprint_path):
77

88
vpc_count = 0
99
# Iterate through all deployment groups and modules
10-
if 'deployment_groups' in data:
10+
if data and 'deployment_groups' in data:
1111
for group in data['deployment_groups']:
1212
for module in group.get('modules', []):
1313
# Identify VPC modules by their source path

0 commit comments

Comments
 (0)