mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
CID-1192805: Remove dead local store from OvsNetworkTopologyGuruImpl
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
c27dd6293e
commit
b1929e366d
@ -95,8 +95,7 @@ public class OvsNetworkTopologyGuruImpl extends ManagerBase implements OvsNetwor
|
||||
List<? extends Network> vpcNetworks = _vpcMgr.getVpcNetworks(vpcId);
|
||||
List<Long> vpcHostIds = new ArrayList<>();
|
||||
for (Network vpcNetwork : vpcNetworks) {
|
||||
List<Long> networkHostIds = new ArrayList<Long>();
|
||||
networkHostIds = getNetworkSpanedHosts(vpcNetwork.getId());
|
||||
List<Long> networkHostIds = getNetworkSpanedHosts(vpcNetwork.getId());
|
||||
if (networkHostIds != null && !networkHostIds.isEmpty()) {
|
||||
for (Long hostId : networkHostIds) {
|
||||
if (!vpcHostIds.contains(hostId)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user