Fixes bug lp:616312 by reversing the order of args in nova-manage when it calls AuthManager.get_credentials.
This commit is contained in:
@@ -206,7 +206,7 @@ class ProjectCommands(object):
|
||||
def zipfile(self, project_id, user_id, filename='nova.zip'):
|
||||
"""Exports credentials for project to a zip file
|
||||
arguments: project_id user_id [filename='nova.zip]"""
|
||||
zip_file = self.manager.get_credentials(project_id, user_id)
|
||||
zip_file = self.manager.get_credentials(user_id, project_id)
|
||||
with open(filename, 'w') as f:
|
||||
f.write(zip_file)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user