Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A255C11247 for ; Wed, 17 Sep 2014 14:39:43 +0000 (UTC) Received: (qmail 54133 invoked by uid 500); 17 Sep 2014 14:39:43 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 54090 invoked by uid 500); 17 Sep 2014 14:39:43 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 54067 invoked by uid 99); 17 Sep 2014 14:39:43 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2014 14:39:43 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id BC16BA1877F; Wed, 17 Sep 2014 14:39:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bhaisaab@apache.org To: commits@cloudstack.apache.org Date: Wed, 17 Sep 2014 14:39:42 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/4] git commit: updated refs/heads/master to e1842a9 Repository: cloudstack Updated Branches: refs/heads/master c27dd6293 -> e1842a9d5 CID-1192805: Remove dead local store from OvsNetworkTopologyGuruImpl Signed-off-by: Rohit Yadav 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 Authored: Wed Sep 17 16:26:33 2014 +0200 Committer: Rohit Yadav 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 vpcNetworks = _vpcMgr.getVpcNetworks(vpcId); List vpcHostIds = new ArrayList<>(); for (Network vpcNetwork : vpcNetworks) { - List networkHostIds = new ArrayList(); - networkHostIds = getNetworkSpanedHosts(vpcNetwork.getId()); + List networkHostIds = getNetworkSpanedHosts(vpcNetwork.getId()); if (networkHostIds != null && !networkHostIds.isEmpty()) { for (Long hostId : networkHostIds) { if (!vpcHostIds.contains(hostId)) {