Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AFB24200ABE for ; Fri, 20 May 2016 19:35:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AE6961609AE; Fri, 20 May 2016 17:35:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 03298160A24 for ; Fri, 20 May 2016 19:35:13 +0200 (CEST) Received: (qmail 14048 invoked by uid 500); 20 May 2016 17:35:13 -0000 Mailing-List: contact issues-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 issues@cloudstack.apache.org Received: (qmail 14032 invoked by uid 500); 20 May 2016 17:35:13 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 14026 invoked by uid 99); 20 May 2016 17:35:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 May 2016 17:35:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DC4662C1F60 for ; Fri, 20 May 2016 17:35:12 +0000 (UTC) Date: Fri, 20 May 2016 17:35:12 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9294) Nuage Plugin : VR doesn't get removed from the VSD when destroying a VPC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 20 May 2016 17:35:14 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293805#comment-15293805 ] ASF GitHub Bot commented on CLOUDSTACK-9294: -------------------------------------------- Github user GabrielBrascher commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1494#discussion_r64078451 --- Diff: plugins/network-elements/nuage-vsp/src/com/cloud/network/resource/NuageVspResource.java --- @@ -270,15 +258,15 @@ public PingCommand getCurrentStatus(long id) { _shouldAudit = true; return null; } - if (_cmsUserInfo == null || _cmsUserInfo.length < 2) { + if (_cmsUserLogin == null || _cmsUserLogin.isEmpty() || _cmsUserPassword == null || _cmsUserPassword.isEmpty()) { --- End diff -- @nlivens you can use StringUtils.isEmpty(CharString cs) [https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html] in order to check if a String is empty or null. > Nuage Plugin : VR doesn't get removed from the VSD when destroying a VPC > ------------------------------------------------------------------------ > > Key: CLOUDSTACK-9294 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9294 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Third-Party Bugs > Reporter: Nick Livens > Assignee: Nick Livens > Fix For: 4.9.0 > > > When destroying a VPC, the VR doesn't get removed from the VSD -- This message was sent by Atlassian JIRA (v6.3.4#6332)