Mike Kolesnik has submitted this change and it was merged.
Change subject: restapi: Set cluster network to new if needed
......................................................................
restapi: Set cluster network to new if needed
Mapper can't rely on cluster field in Network to not be null, so
setting it to template's value if available, and if not then to a new
instance.
Change-Id: I85f5d636b532e0a3f8475fbddb7228bc8d2e7e7b
Signed-off-by: Mike Kolesnik <mkolesni(a)redhat.com>
---
M
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/NetworkMapper.java
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Mike Kolesnik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/6291
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I85f5d636b532e0a3f8475fbddb7228bc8d2e7e7b
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>