mirror of https://github.com/apache/cloudstack.git
marvin : cloudstack-version is not reqd for json load
To build back cloudstack response we don't need to load the 'cloudstack-version' string, only the response
This commit is contained in:
parent
5aefd77f77
commit
bab974c3bc
|
|
@ -121,7 +121,7 @@ def getResultObj(returnObj, responsecls=None):
|
|||
|
||||
if len(returnObj) == 0:
|
||||
return None
|
||||
responseName = returnObj.keys()[0]
|
||||
responseName = filter(lambda a: a!=u'cloudstack-version', returnObj.keys())[0]
|
||||
|
||||
response = returnObj[responseName]
|
||||
if len(response) == 0:
|
||||
|
|
|
|||
|
|
@ -148,10 +148,6 @@
|
|||
"name": "workers",
|
||||
"value": "10"
|
||||
},
|
||||
{
|
||||
"name": "use.user.concentrated.pod.allocation",
|
||||
"value": "false"
|
||||
},
|
||||
{
|
||||
"name": "account.cleanup.interval",
|
||||
"value": "600"
|
||||
|
|
|
|||
Loading…
Reference in New Issue