File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/openstack_workload_generator Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ def establish_connection():
170170 )
171171 if args .ansible_inventory :
172172 workload_project .dump_inventory_hosts (args .ansible_inventory )
173- if args .clouds_yaml :
173+ if args .generate_clouds_yaml :
174174 clouds_yaml_data [
175175 f"{ workload_domain .domain_name } -{ workload_project .project_name } "
176176 ] = workload_project .get_clouds_yaml_data ()
@@ -179,10 +179,11 @@ def establish_connection():
179179 args .delete_machines
180180 ):
181181 machine_obj .delete_machine ()
182- if args .generate_clouds_yaml :
183- LOGGER .info (f"Creating a a clouds yaml : { args .generate_clouds_yaml } " )
184182
183+ if args .generate_clouds_yaml :
184+ LOGGER .info (f"Creating a clouds yaml : { args .generate_clouds_yaml } " )
185185 clouds_yaml_data_new = {"clouds" : clouds_yaml_data }
186+
186187 if os .path .exists (args .generate_clouds_yaml ):
187188 with open (args .generate_clouds_yaml , "r" ) as file :
188189 existing_data = yaml .safe_load (file )
You can’t perform that action at this time.
0 commit comments