1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 18:21:12 +03:00

AC-537 Fix typo.

This commit is contained in:
Chris Church 2013-11-02 14:44:18 -04:00
parent 72aacfd972
commit 413a799829

View File

@ -1116,7 +1116,7 @@ class Credential(CommonModelNameNotUnique):
if self.cloud != cloud: if self.cloud != cloud:
self.cloud = cloud self.cloud = cloud
if 'cloud' not in update_fields: if 'cloud' not in update_fields:
update_field.append('cloud') update_fields.append('cloud')
super(Credential, self).save(*args, **kwargs) super(Credential, self).save(*args, **kwargs)
# After saving a new instance for the first time, set the password # After saving a new instance for the first time, set the password
# fields and save again. # fields and save again.