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

Code Review gerrit at ovirt.org
Wed Jan 4 21:27:51 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>
(cherry picked from commit 2d4b51debb7cf4e5f973169c99d41900892682f3)
---
M sdk/lib/ovirtsdk4/service.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7efc328d42ec6a654e0914390357cf3f2e1afd5e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.1
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list