File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -489,7 +489,6 @@ def update_blueprint(self) -> bool:
489489 if not machine_data_dict :
490490 print ("No Machines Found!" )
491491 return False
492-
493492 try :
494493 blueprints_response = self .api .api_call (
495494 f"projects/{ self .project_id } /blueprints"
@@ -521,7 +520,7 @@ def update_blueprint(self) -> bool:
521520 if self .security_group_id :
522521 blueprint ["securityGroupIDs" ] = [self .security_group_id ]
523522
524- instance_type = self .target_instances .get (machine_name , "" )
523+ instance_type = self .target_instances .get (_machine_name , "" )
525524 if instance_type :
526525 blueprint ["instanceType" ] = instance_type
527526
@@ -542,7 +541,6 @@ def update_blueprint(self) -> bool:
542541 blueprint ["publicIPAction" ] = self .config .active_config .get (
543542 "public_ip" , "DONT_ALLOCATE"
544543 )
545-
546544 if self .dry_run :
547545 print ("This is a dry run! Not updating blueprints!" )
548546 return True
You can’t perform that action at this time.
0 commit comments