cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [1/4] git commit: updated refs/heads/master to e1842a9
Date Wed, 17 Sep 2014 14:39:42 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master c27dd6293 -> e1842a9d5


CID-1192805: Remove dead local store from OvsNetworkTopologyGuruImpl

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b1929e36
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b1929e36
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b1929e36

Branch: refs/heads/master
Commit: b1929e366dfcaa3d3103961c7f66b0f0d0d39855
Parents: c27dd62
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Wed Sep 17 16:26:33 2014 +0200
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Wed Sep 17 16:26:33 2014 +0200

----------------------------------------------------------------------
 .../ovs/src/com/cloud/network/ovs/OvsNetworkTopologyGuruImpl.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b1929e36/plugins/network-elements/ovs/src/com/cloud/network/ovs/OvsNetworkTopologyGuruImpl.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/ovs/src/com/cloud/network/ovs/OvsNetworkTopologyGuruImpl.java
b/plugins/network-elements/ovs/src/com/cloud/network/ovs/OvsNetworkTopologyGuruImpl.java
index 820cd55..7f86f3a 100644
--- a/plugins/network-elements/ovs/src/com/cloud/network/ovs/OvsNetworkTopologyGuruImpl.java
+++ b/plugins/network-elements/ovs/src/com/cloud/network/ovs/OvsNetworkTopologyGuruImpl.java
@@ -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)) {


Mime
View raw message