mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user