Change in ovirt-hosted-engine-ha[v2.0.z]: jsonrpc: safely parsing empty responses

msivak at redhat.com msivak at redhat.com
Fri Sep 2 10:00:55 UTC 2016


Martin Sivák has submitted this change and it was merged.

Change subject: jsonrpc: safely parsing empty responses
......................................................................


jsonrpc: safely parsing empty responses

jsonrpc responces dictionary doesn't contain the 'items'
key if there is no value to pass.
Correctly handling it.

Change-Id: I135b20ab22f2ffd55059f6992f27dc75e64a2501
Bug-Url: https://bugzilla.redhat.com/1365242
Signed-off-by: Simone Tiraboschi <stirabos at redhat.com>
(cherry picked from commit 20e60aaa8ecf32736cebddc99d1294d33aafd55c)
---
M ovirt_hosted_engine_ha/lib/image.py
M ovirt_hosted_engine_ha/lib/ovf/ovf_store.py
M ovirt_hosted_engine_ha/lib/storage_server.py
M ovirt_hosted_engine_ha/lib/upgrade.py
4 files changed, 26 insertions(+), 18 deletions(-)

Approvals:
  Martin Sivák: Looks good to me, approved
  Simone Tiraboschi: Verified
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/63001
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I135b20ab22f2ffd55059f6992f27dc75e64a2501
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: v2.0.z
Gerrit-Owner: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list