mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
cli: don't get the required list as params
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
98d341d932
commit
c444bb3811
@ -270,7 +270,8 @@ class CloudStackShell(cmd.Cmd):
|
||||
doc = api_mod.__doc__
|
||||
except AttributeError, e:
|
||||
self.print_shell("Error: API attribute %s not found!" % e)
|
||||
params = filter(lambda x: '__' not in x, dir(api_cmd()))
|
||||
params = filter(lambda x: '__' not in x and 'required' not in x,
|
||||
dir(api_cmd()))
|
||||
api_name_lower = api_name.replace(verb, '').lower()
|
||||
self.cache_verbs[verb][api_name_lower] = [api_name, params, doc]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user