mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6904: removed typeInfo key as part of sanitize command
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
505a7127b8
commit
34b177f2b5
|
|
@ -267,6 +267,8 @@ class CSConnection(object):
|
|||
for param, value in payload.items():
|
||||
if value is None:
|
||||
payload.pop(param)
|
||||
elif param == 'typeInfo':
|
||||
payload.pop(param)
|
||||
elif isinstance(value, list):
|
||||
if len(value) == 0:
|
||||
payload.pop(param)
|
||||
|
|
|
|||
Loading…
Reference in New Issue