Dan Kenigsberg has submitted this change and it was merged.
Change subject: rest-api: Fix software version parsing
......................................................................
rest-api: Fix software version parsing
Fix the parsing of the software_version field of getVdsCapabilities.
- Properly handle the version whether it is x.y.z or just x.y
- Due to git tags, the data type for revision is a string, not short int
Change-Id: Ia84668ad590d306948a864b7b3a439003f24aa77
Signed-off-by: Adam Litke <agl(a)us.ibm.com>
---
M vdsm/rest/Controller.py
M vdsm/rest/templates/api.xsd
M vdsm/rest/templates/root.json.x
3 files changed, 10 insertions(+), 6 deletions(-)
Approvals:
Douglas Schilling Landgraf: Looks good to me, but someone else must approve
Adam Litke: Verified
Dan Kenigsberg: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/4447
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia84668ad590d306948a864b7b3a439003f24aa77
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Adam Litke <agl(a)us.ibm.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland(a)redhat.com>