mirror of https://github.com/apache/cloudstack.git
marvin_refactor: skip jobStatus and jobId when determining mirror objects
When comparing json response against the response object disregard the jobstatus and jobid returned as part of object response. These are some quirks in the API response added previously that we are unable to remove. Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
5fab4fd3a2
commit
4d3865808d
|
|
@ -125,6 +125,8 @@ def finalizeResultObj(result, responseName, responsecls):
|
|||
|
||||
mirrorObj = False
|
||||
for k, v in value.__dict__.iteritems():
|
||||
if k.startswith('job'):
|
||||
continue
|
||||
if k in responsecls.__dict__:
|
||||
mirrorObj = True
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue