Kanagaraj M has posted comments on this change. Change subject: engine: Changes to brick sync for storage network ......................................................................
Patch Set 4: Code-Review+1 (2 comments) https://gerrit.ovirt.org/#/c/38148/4/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterVolumesListReturnForXmlRpc.java File backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterVolumesListReturnForXmlRpc.java: Line 234: getGlusterNetworkId getGlusterNetwork. networkAddress is not being used. Also you could just pass 'clusterId' to make the function more readable. Line 233: Line 234: private Network getGlusterNetworkId(VdsStatic server, String networkAddress) { Line 235: List<Network> allNetworksInCluster = Line 236: DbFacade.getInstance().getNetworkDao().getAllForCluster(server.getVdsGroupId()); Line 237: Don't we need to check whether the interface of the host is associated with 'gluster' network or not? Line 238: for (Network network : allNetworksInCluster) { Line 239: if (network.getCluster().isGluster()) { Line 240: return network; Line 241: } -- To view, visit https://gerrit.ovirt.org/38148 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I99f1ed0d9718be79ffac2ac04a36999c93a79ef2 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sahina Bose <[email protected]> Gerrit-Reviewer: Kanagaraj M <[email protected]> Gerrit-Reviewer: Ramesh N <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
