You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/02/03 10:31:23 UTC
cloudstack-cloudmonkey git commit: cloudmonkey: do a case-insensitive
missing api arg search
Repository: cloudstack-cloudmonkey
Updated Branches:
refs/heads/master b0221bc3b -> 7f48184fe
cloudmonkey: do a case-insensitive missing api arg search
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/commit/7f48184f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/tree/7f48184f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/diff/7f48184f
Branch: refs/heads/master
Commit: 7f48184fe5d3d24e99e112367c7006f60d5c34ea
Parents: b0221bc
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Tue Feb 3 15:01:00 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Tue Feb 3 15:01:00 2015 +0530
----------------------------------------------------------------------
cloudmonkey/cloudmonkey.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack-cloudmonkey/blob/7f48184f/cloudmonkey/cloudmonkey.py
----------------------------------------------------------------------
diff --git a/cloudmonkey/cloudmonkey.py b/cloudmonkey/cloudmonkey.py
index ac951ad..94594c6 100644
--- a/cloudmonkey/cloudmonkey.py
+++ b/cloudmonkey/cloudmonkey.py
@@ -380,7 +380,7 @@ class CloudMonkeyShell(cmd.Cmd, object):
missing = []
if verb in self.apicache and subject in self.apicache[verb]:
- missing = filter(lambda x: x not in [key.split('[')[0]
+ missing = filter(lambda x: x not in [key.split('[')[0].lower()
for key in args_dict],
self.apicache[verb][subject]['requiredparams'])