mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 17:07:36 -02:30
removed tabbing
This commit is contained in:
@@ -688,7 +688,7 @@ class CredentialInputField(JSONSchemaField):
|
|||||||
model_instance.inputs['ssh_key_data'] = model_instance.__class__.objects.get(
|
model_instance.inputs['ssh_key_data'] = model_instance.__class__.objects.get(
|
||||||
pk=model_instance.pk
|
pk=model_instance.pk
|
||||||
).inputs.get('ssh_key_data')
|
).inputs.get('ssh_key_data')
|
||||||
|
|
||||||
if model_instance.has_encrypted_ssh_key_data and not value.get('ssh_key_unlock'):
|
if model_instance.has_encrypted_ssh_key_data and not value.get('ssh_key_unlock'):
|
||||||
errors['ssh_key_unlock'] = [_('must be set when SSH key is encrypted.')]
|
errors['ssh_key_unlock'] = [_('must be set when SSH key is encrypted.')]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user