bugfix dry run print
This commit is contained in:
parent
5e38b6822a
commit
a454fda81c
1 changed files with 2 additions and 2 deletions
|
|
@ -108,8 +108,8 @@ def _submit_job(version, platform):
|
||||||
'containerOverrides': _container_overrides(job_details.version)
|
'containerOverrides': _container_overrides(job_details.version)
|
||||||
}
|
}
|
||||||
if os.environ.get('DRYRUN'):
|
if os.environ.get('DRYRUN'):
|
||||||
print('DRYRUN: would have queued {}'.format(job_details.job_name))
|
print('DRYRUN: would have queued {}'.format(job_details.job_name()))
|
||||||
return 'dryrun-no-job-{}'.format(job_details.job_name)
|
return 'dryrun-no-job-{}'.format(job_details.job_name())
|
||||||
else:
|
else:
|
||||||
response = batch_client.submit_job(**args)
|
response = batch_client.submit_job(**args)
|
||||||
print("Started job with details:{},id:{}".format(job_details, response['jobId']))
|
print("Started job with details:{},id:{}".format(job_details, response['jobId']))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue