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

From Ondra Machacek <omachace@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@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@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
Code Review