Change in ovirt-engine[master]: restapi: Don't raise 404 if slave not found

mkolesni at redhat.com mkolesni at redhat.com
Thu Oct 11 09:59:37 UTC 2012


Mike Kolesnik has submitted this change and it was merged.

Change subject: restapi: Don't raise 404 if slave not found
......................................................................


restapi: Don't raise 404 if slave not found

If slave wasn't found, then just map without template, otherwise the 404
is not clear when thrown in the context of setup networks.

Change-Id: I20c86e56b102e4c6318608f8d4ba50757fcce12f
Bug-Url: https://bugzilla.redhat.com/??????
Signed-off-by: Mike Kolesnik <mkolesni at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostNicsResource.java
1 file changed, 15 insertions(+), 2 deletions(-)

Approvals:
  Michael Pasternak: Looks good to me, approved
  Mike Kolesnik: Verified


--
To view, visit http://gerrit.ovirt.org/8490
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I20c86e56b102e4c6318608f8d4ba50757fcce12f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>



More information about the Engine-commits mailing list