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 5A9D6200CA7 for ; Wed, 31 May 2017 00:42:35 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 59158160BDC; Tue, 30 May 2017 22:42:35 +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 C6635160BC9 for ; Wed, 31 May 2017 00:42:34 +0200 (CEST) Received: (qmail 84951 invoked by uid 500); 30 May 2017 22:42:34 -0000 Mailing-List: contact dev-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list dev@geode.apache.org Received: (qmail 84940 invoked by uid 99); 30 May 2017 22:42:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2017 22:42:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8A6A6DFFB5; Tue, 30 May 2017 22:42:33 +0000 (UTC) From: jaredjstewart To: dev@geode.apache.org Reply-To: dev@geode.apache.org References: In-Reply-To: Subject: [GitHub] geode pull request #549: GEODE-2203: gfsh status locator/server - Command no... Content-Type: text/plain Message-Id: <20170530224233.8A6A6DFFB5@git1-us-west.apache.org> Date: Tue, 30 May 2017 22:42:33 +0000 (UTC) archived-at: Tue, 30 May 2017 22:42:35 -0000 Github user jaredjstewart commented on a diff in the pull request: https://github.com/apache/geode/pull/549#discussion_r119233486 --- Diff: geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/LauncherLifecycleCommands.java --- @@ -771,11 +771,18 @@ public Result statusLocator( CliStrings.STATUS_SERVICE__GFSH_NOT_CONNECTED_ERROR_MESSAGE, LOCATOR_TERM_NAME)); } } else { - final LocatorLauncher locatorLauncher = - new LocatorLauncher.Builder().setCommand(LocatorLauncher.Command.STATUS) - .setBindAddress(locatorHost).setDebug(isDebugging()).setPid(pid) - .setPort(locatorPort).setWorkingDirectory(workingDirectory).build(); + final LocatorLauncher locatorLauncher; + if ((locatorHost == null) && (locatorPort == null) && (workingDirectory == null)) { --- End diff -- Looking into this a bit further, I think we probably will need to add `&& (pid == null)`. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---