mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 04:00:06 -03:30
Fixed indentation on messaging code block.
This commit is contained in:
@@ -1353,12 +1353,12 @@ class UnifiedJob(
|
|||||||
missing_credential_inputs.append(required)
|
missing_credential_inputs.append(required)
|
||||||
credential_name = credential.name
|
credential_name = credential.name
|
||||||
|
|
||||||
if missing_credential_inputs:
|
if missing_credential_inputs:
|
||||||
self.job_explanation = '{} cannot start because Credential {} does not provide one or more required fields ({}).'.format(
|
self.job_explanation = '{} cannot start because Credential {} does not provide one or more required fields ({}).'.format(
|
||||||
self._meta.verbose_name.title(), credential_name, ', '.join(sorted(missing_credential_inputs))
|
self._meta.verbose_name.title(), credential_name, ', '.join(sorted(missing_credential_inputs))
|
||||||
)
|
)
|
||||||
self.save(update_fields=['job_explanation'])
|
self.save(update_fields=['job_explanation'])
|
||||||
return (False, None)
|
return (False, None)
|
||||||
|
|
||||||
needed = self.get_passwords_needed_to_start()
|
needed = self.get_passwords_needed_to_start()
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user