Skip to content

Commit

Permalink
Fix command builder (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
myakove authored Nov 22, 2023
1 parent e943c70 commit d992409
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ def main():
cmd += " --parallel"

if os_env.get("CLUSTER1"):
clusters += f" -c {os_env['CLUSTER1']}"
clusters += f" -c '{os_env['CLUSTER1']}'"
if os_env.get("CLUSTER2"):
clusters += f" -c {os_env['CLUSTER2']}"
clusters += f" -c '{os_env['CLUSTER2']}'"
if os_env.get("CLUSTER3"):
clusters += f" -c {os_env['CLUSTER3']}"
clusters += f" -c '{os_env['CLUSTER3']}'"

cmd += f" '{clusters}'"
cmd += f" {clusters}"

if os_env.get("REGISTRY_CONFIG_FILE"):
cmd += f" --registry-config-file={os_env['REGISTRY_CONFIG_FILE']}"
Expand Down

0 comments on commit d992409

Please sign in to comment.