From 413a799829538ae504a507a61fec721fb3a41679 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Sat, 2 Nov 2013 14:44:18 -0400 Subject: [PATCH] AC-537 Fix typo. --- awx/main/models/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/models/__init__.py b/awx/main/models/__init__.py index c284e8e430..b53cbd5c12 100644 --- a/awx/main/models/__init__.py +++ b/awx/main/models/__init__.py @@ -1116,7 +1116,7 @@ class Credential(CommonModelNameNotUnique): if self.cloud != cloud: self.cloud = cloud if 'cloud' not in update_fields: - update_field.append('cloud') + update_fields.append('cloud') super(Credential, self).save(*args, **kwargs) # After saving a new instance for the first time, set the password # fields and save again.