Align log message of workload identity tokens with other task messages (#16345)

This commit is contained in:
Pablo H.
2026-03-10 19:05:31 +01:00
committed by GitHub
parent 619d8c67a9
commit c115e0168a

View File

@@ -684,7 +684,7 @@ class BaseTask(object):
raise RuntimeError('AWX_ISOLATION_BASE_PATH=%s does not exist' % settings.AWX_ISOLATION_BASE_PATH)
if flag_enabled("FEATURE_OIDC_WORKLOAD_IDENTITY_ENABLED"):
logger.info(f'Generating workload identity tokens for job {self.instance.id}')
logger.info(f'Generating workload identity tokens for {self.instance.log_format}')
self.populate_workload_identity_tokens()
if self.instance.status == 'error':
raise RuntimeError('not starting %s task' % self.instance.status)