Skip to content

Commit

Permalink
Merge pull request #6306 from shaneknapp/fix-var-name-img-repo-script
Browse files Browse the repository at this point in the history
fixed broken var name
  • Loading branch information
shaneknapp authored Sep 30, 2024
2 parents 5306668 + 6cc0b68 commit 7fd1167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/user-image-management/manage-image-repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ def push(args):
if not os.path.exists(path):
print(f"Skipping {name} as it doesn't exist.")
continue
print(f"Pushing {name} to {args.origin}...")
if not args.origin:
remote = "origin"
else:
remote = args.origin
print(f"Pushing {name} to {remote}...")
subprocess.check_call(["git", "push", remote, args.branch], cwd=path)
print()

Expand Down

0 comments on commit 7fd1167

Please sign in to comment.