This is an automated email from the ASF dual-hosted git repository.

sai_boorlagadda pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 68f4ca4  GEODE-4898: Fix field names in DestroyJndiBindingCommand 
(#1648)
68f4ca4 is described below

commit 68f4ca4d1d3f3967e6f5c72595724510d53413e8
Author: Sai Boorlagadda <[email protected]>
AuthorDate: Tue Mar 20 09:34:36 2018 -0700

    GEODE-4898: Fix field names in DestroyJndiBindingCommand (#1648)
---
 .../internal/cli/commands/CommandAvailabilityIndicator.java         | 2 +-
 .../management/internal/cli/commands/DestroyJndiBindingCommand.java | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/CommandAvailabilityIndicator.java
 
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/CommandAvailabilityIndicator.java
index dfd56f8..a38a9e1 100644
--- 
a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/CommandAvailabilityIndicator.java
+++ 
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/CommandAvailabilityIndicator.java
@@ -50,7 +50,7 @@ public class CommandAvailabilityIndicator implements 
CommandMarker {
       CliStrings.STOP_GATEWAYRECEIVER, CliStrings.LIST_GATEWAY, 
CliStrings.STATUS_GATEWAYSENDER,
       CliStrings.STATUS_GATEWAYRECEIVER, CliStrings.LOAD_BALANCE_GATEWAYSENDER,
       CliStrings.DESTROY_GATEWAYSENDER, 
AlterAsyncEventQueueCommand.COMMAND_NAME,
-      CreateJndiBindingCommand.CREATE_JNDIBINDING, 
DestroyJndiBindingCommand.CREATE_JNDIBINDING})
+      CreateJndiBindingCommand.CREATE_JNDIBINDING, 
DestroyJndiBindingCommand.DESTROY_JNDIBINDING})
   public boolean clientCommandsAvailable() {
     Gfsh gfsh = Gfsh.getCurrentInstance();
 
diff --git 
a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DestroyJndiBindingCommand.java
 
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DestroyJndiBindingCommand.java
index bff73ae..f4800b4 100644
--- 
a/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DestroyJndiBindingCommand.java
+++ 
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/commands/DestroyJndiBindingCommand.java
@@ -36,15 +36,15 @@ import 
org.apache.geode.management.internal.security.ResourceOperation;
 import org.apache.geode.security.ResourcePermission;
 
 public class DestroyJndiBindingCommand extends GfshCommand {
-  static final String CREATE_JNDIBINDING = "destroy jndi-binding";
-  static final String CREATE_JNDIBINDING__HELP =
+  static final String DESTROY_JNDIBINDING = "destroy jndi-binding";
+  static final String DESTROY_JNDIBINDING__HELP =
       "Destroy a jndi binding that holds the configuration for the XA 
datasource.";
   static final String JNDI_NAME = "name";
   static final String JNDI_NAME__HELP = "Name of the binding to be destroyed.";
   static final String IFEXISTS_HELP =
       "Skip the destroy operation when a jndi binding with the same name does 
not exists. Without specifying this option, this command execution results into 
an error.";
 
-  @CliCommand(value = CREATE_JNDIBINDING, help = CREATE_JNDIBINDING__HELP)
+  @CliCommand(value = DESTROY_JNDIBINDING, help = DESTROY_JNDIBINDING__HELP)
   @CliMetaData(relatedTopic = CliStrings.TOPIC_GEODE_REGION)
   @ResourceOperation(resource = ResourcePermission.Resource.CLUSTER,
       operation = ResourcePermission.Operation.MANAGE)

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to