[stable-2.7] Fix run.py --branch argument.

The API docs state that both `branch` and `branchName` are valid,
but only `branchName` appears to work.
(cherry picked from commit 31c1bdd6a8)

Co-authored-by: Matt Clay <matt@mystile.com>
pull/50540/head
Matt Clay 6 years ago
parent cd9b364da8
commit 99772e6ac3

@ -103,7 +103,7 @@ def main():
) )
if args.branch: if args.branch:
data['branch'] = args.branch data['branchName'] = args.branch
elif args.run: elif args.run:
data['runId'] = args.run data['runId'] = args.run

Loading…
Cancel
Save