CLOUDSTACK-6502:IAMGroup.list and IAMPolicy.list in marvin base.py are
not working.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/96af7396
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/96af7396
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/96af7396

Branch: refs/heads/master
Commit: 96af7396b6ea5da560975807b1c50d78ef875b79
Parents: 6af1a29
Author: Min Chen <[email protected]>
Authored: Thu Apr 24 18:20:13 2014 -0700
Committer: Min Chen <[email protected]>
Committed: Mon Apr 28 11:11:35 2014 -0700

----------------------------------------------------------------------
 tools/marvin/marvin/lib/base.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/96af7396/tools/marvin/marvin/lib/base.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py
index d753098..9606532 100755
--- a/tools/marvin/marvin/lib/base.py
+++ b/tools/marvin/marvin/lib/base.py
@@ -3937,7 +3937,7 @@ class IAMGroup:
     def list(cls, apiclient, **kwargs):
         cmd = listIAMGroups.listIAMGroupsCmd()
         [setattr(cmd, k, v) for k, v in kwargs.items()]
-        return apiclient.listIAMGroupsCmd(cmd)  
+        return apiclient.listIAMGroups(cmd)  
     
     def addAccount(self, apiclient, accts):
         """Add accounts to iam group"""
@@ -3998,7 +3998,7 @@ class IAMPolicy:
     def list(cls, apiclient, **kwargs):
         cmd = listIAMPolicies.listIAMPoliciesCmd()
         [setattr(cmd, k, v) for k, v in kwargs.items()]
-        return apiclient.listIAMPoliciesCmd(cmd)  
+        return apiclient.listIAMPolicies(cmd)  
 
     def addPermission(self, apiclient, permission):
         """Add permission to iam policy"""

Reply via email to