Skip to content

Commit

Permalink
bugfix to argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
matscorse authored Oct 18, 2024
1 parent 9c512f7 commit fb1e0b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sap/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def perform_decision(pipeline_type, action, pipeline_fullpath, rebuild, short):
if len(glob.glob('*.py')) == 1:
utils.reset_pipeline(pipeline_fullpath +
'workflow-manager/'+str(glob.glob('*.py')[0]))
subprocess.call(["jug", "status", extra_arg, str(glob.glob('*.py')[0])])
subprocess.call(["jug", "status", str(glob.glob('*.py')[0]), extra_arg])
logger.info("Reset complete")
logger.info("Ready to execute")
os.chdir(current)
Expand All @@ -150,7 +150,7 @@ def perform_decision(pipeline_type, action, pipeline_fullpath, rebuild, short):
if len(glob.glob('*.py')) == 1:
utils.halt_pipeline(pipeline_fullpath +
'workflow-manager/'+str(glob.glob('*.py')[0]))
subprocess.call(["jug", "status", extra_arg, str(glob.glob('*.py')[0])])
subprocess.call(["jug", "status", str(glob.glob('*.py')[0]), extra_arg])
logger.info("Halt complete")
os.chdir(current)

Expand Down

0 comments on commit fb1e0b7

Please sign in to comment.