Michael Pasternak has submitted this change and it was merged. Change subject: restapi: version values for hosts are wrong ......................................................................
restapi: version values for hosts are wrong When the host is being installed or is being rebooted the version value is unknow and is initialized to -1. Displaying this in the /api/hosts xml results in schema validation errors. This patch supresses the version information if it is unknown. Change-Id: Ib6cf8f5480b29e07b60f36465b8fa0db74ee5246 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=891301 Signed-off-by: Ravi Nori <rn...@redhat.com> --- M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/HostMapper.java 1 file changed, 5 insertions(+), 1 deletion(-) Approvals: Michael Pasternak: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/10687 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib6cf8f5480b29e07b60f36465b8fa0db74ee5246 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: Ravi Nori <rn...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches