Change in ovirt-engine-sdk[master]: Check return code of the HTTP reponses

Code Review gerrit at ovirt.org
Wed Jan 4 21:23:31 UTC 2017


>From Ondra Machacek <omachace at redhat.com>:

Ondra Machacek has submitted this change and it was merged.

Change subject: Check return code of the HTTP reponses
......................................................................


Check return code of the HTTP reponses

If API will return HTTP response code higher than 400,
the SDK should raise ovirtsdk4.Error, with the meassage
what response code was returned by API.

Change-Id: I7efc328d42ec6a654e0914390357cf3f2e1afd5e
Signed-off-by: Ondra Machacek <omachace at redhat.com>
---
M sdk/lib/ovirtsdk4/service.py
1 file changed, 1 insertion(+), 1 deletion(-)

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/69532
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7efc328d42ec6a654e0914390357cf3f2e1afd5e
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Yaniv Kaul <ykaul at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list