fixed typo

This commit is contained in:
sean-m-sullivan 2020-09-01 10:38:15 -05:00
parent cd45cfec30
commit 50637807fc

View File

@ -599,7 +599,7 @@ class TowerAPIModule(TowerModule):
if timeout and timeout < time.time() - start:
# Account for Legacy messages
if object_type is 'legacy_job_wait':
self.json_output['msg'] = 'Monitoring of Job - {1} aborted due to timeout'.format(object_name)
self.json_output['msg'] = 'Monitoring of Job - {0} aborted due to timeout'.format(object_name)
else:
self.json_output['msg'] = 'Monitoring of {0} - {1} aborted due to timeout'.format(object_type, object_name)
self.wait_output(result)