From af6e035c3bf8eda9e0db41cf4288a1f5ac20e873 Mon Sep 17 00:00:00 2001 From: Rebeccah Hunter Date: Thu, 22 Aug 2019 09:39:59 -0400 Subject: [PATCH] removed tabbing --- awx/main/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/fields.py b/awx/main/fields.py index 2fbe631448..ac761ca90e 100644 --- a/awx/main/fields.py +++ b/awx/main/fields.py @@ -688,7 +688,7 @@ class CredentialInputField(JSONSchemaField): model_instance.inputs['ssh_key_data'] = model_instance.__class__.objects.get( pk=model_instance.pk ).inputs.get('ssh_key_data') - + 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.')]