Ondra Machacek has submitted this change and it was merged.
Change subject: Avoid of reading fault response in case response body is empty
......................................................................
Avoid of reading fault response in case response body is empty
In case there is 404 returned from API, we try to parse response body,
but in this case it's useless and returned exception previously,
this patch changes it, so we don't parse response in case it's empty.
Change-Id: Ia3c6e7bee7a1926cc007db9477640d675487dbe6
Signed-off-by: Ondra Machacek <omachace(a)redhat.com>
---
M sdk/lib/ovirtsdk4/service.py
1 file changed, 5 insertions(+), 4 deletions(-)
Approvals:
Ondra Machacek: Verified; Looks good to me, approved
Juan Hernandez: Looks good to me, but someone else must approve
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/63058
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia3c6e7bee7a1926cc007db9477640d675487dbe6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>