Yair Zaslavsky has submitted this change and it was merged.

Change subject: restapi : version values for hosts are wrong for libvirt
......................................................................


restapi : version values for hosts are wrong for libvirt

When a new host is added to engine and the status is either
installing for rebooting the libvirt version is unknown and
is reported as -1.

This patch supresses the libvirt version from /api/hosts if the
version is unknown.

Change-Id: I0c0525b6bb8c90d2ce4e10ac4f5c26f1a1b1e6b0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=904935
Signed-off-by: Ravi Nori <[email protected]>
---
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:
  Yair Zaslavsky: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0c0525b6bb8c90d2ce4e10ac4f5c26f1a1b1e6b0
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to