1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Merge pull request #255 from chrismeyersfsu/fix-update_instance

fixed calling of method that never existed
This commit is contained in:
Chris Meyers 2015-06-01 09:51:58 -04:00
commit 9c7943039c

View File

@ -54,7 +54,8 @@ class Command(BaseCommandInstance):
instance.save()
# If this is a primary instance, update projects.
self.update_projects_if_primary(instance)
if self.is_option_primary():
self.update_projects(instance)
# Done!
print('Successfully updated instance role %s' % instance_str(instance))