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

sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new ed7bb78  typo in word validation (#4292)
ed7bb78 is described below

commit ed7bb78e946877f9ab4dfb656b8e6d837621442c
Author: penny <[email protected]>
AuthorDate: Fri May 17 17:24:09 2019 +0800

    typo in word validation (#4292)
    
    
    ### Motivation
    
    typo in word validation
---
 .../main/java/org/apache/pulsar/broker/lookup/TopicLookupBase.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/lookup/TopicLookupBase.java
 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/lookup/TopicLookupBase.java
index 288e14c..118d46b 100644
--- 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/lookup/TopicLookupBase.java
+++ 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/lookup/TopicLookupBase.java
@@ -218,9 +218,9 @@ public class TopicLookupBase extends PulsarWebResource {
         });
 
         // Initiate lookup once validation completes
-        validationFuture.thenAccept(validaitonFailureResponse -> {
-            if (validaitonFailureResponse != null) {
-                lookupfuture.complete(validaitonFailureResponse);
+        validationFuture.thenAccept(validationFailureResponse -> {
+            if (validationFailureResponse != null) {
+                lookupfuture.complete(validationFailureResponse);
             } else {
                 
pulsarService.getNamespaceService().getBrokerServiceUrlAsync(topicName, 
authoritative)
                         .thenAccept(lookupResult -> {

Reply via email to