Michael Pasternak has submitted this change and it was merged.
Change subject: restapi: Default VM display type overrides current VM display type in REST
API(#864961)
......................................................................
restapi: Default VM display type overrides current VM display type in REST API(#864961)
The api returns the default display type for a VM.
When a VM is started with 'Run Once' and the display type is changed for just that
session,
the api should return the display type of the current VM session not the default display
type.
Change-Id: Ie838e8096909865647bed2d79e9571059f6095aa
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=864961
Signed-off-by: Ravi Nori <rnori(a)redhat.com>
---
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/VmMapper.java
1 file changed, 14 insertions(+), 1 deletion(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/8822
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie838e8096909865647bed2d79e9571059f6095aa
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori(a)redhat.com>