Mike Kolesnik has submitted this change and it was merged.
Change subject: engine: Get network_cluster from DB for setting status
......................................................................
engine: Get network_cluster from DB for setting status
Get the network_cluster from DB at the beginning of the method, since
if it's not in the DB then there's no sense in doing all the work as
nothing will get updated in the end.
Change-Id: I3008dc05cd2554345c8028c5c033f9cd282e6b48
Signed-off-by: Mike Kolesnik <mkolesni(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AttachNetworkToVdsGroupCommand.java
1 file changed, 35 insertions(+), 34 deletions(-)
Approvals:
Mike Kolesnik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/6293
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3008dc05cd2554345c8028c5c033f9cd282e6b48
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>