Ori Liel has submitted this change and it was merged.
Change subject: restapi: Fixed HTTP error code for host name duplication error.
......................................................................
restapi: Fixed HTTP error code for host name duplication error.
Changed the HTTP error code for "host name is allready taken"
from BAD_PARAMETERS to CONFLICT
Change-Id: I01c198021689d6647aeb14e8bbc75d27aa23e39e
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1308563
Signed-off-by: borod108 <bodnopoz(a)redhat.com>
---
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/errors/EngineMessage.java
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Ori Liel: Looks good to me, approved
Boris Odnopozov: Verified
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/57192
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I01c198021689d6647aeb14e8bbc75d27aa23e39e
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Boris Odnopozov <bodnopoz(a)redhat.com>
Gerrit-Reviewer: Boris Odnopozov <bodnopoz(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>