Moti Asayag has submitted this change and it was merged.
Change subject: engine: Use proper dao api to detect used network
......................................................................
engine: Use proper dao api to detect used network
The patch simplifies the code of RemoveNetworkCommand by
removing redundant code and using a proper method of the
NetworkDao in order to detect if a specific network is
used by a cluster instead of iterating all the cluster's
networks.
Change-Id: I95419986b99c23a741d28929532619f4c56da5a4
Signed-off-by: Moti Asayag <masayag(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/RemoveNetworkCommand.java
1 file changed, 6 insertions(+), 17 deletions(-)
Approvals:
Moti Asayag: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/9833
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I95419986b99c23a741d28929532619f4c56da5a4
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>