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

mmerli 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 899bb11  [minor] avoid function call to get globalzk (#6667)
899bb11 is described below

commit 899bb11710494ee0d7944eed986b71f854bc229b
Author: Rajan Dhabalia <[email protected]>
AuthorDate: Tue Apr 7 11:29:05 2020 -0700

    [minor] avoid function call to get globalzk (#6667)
    
    Co-authored-by: Sijie Guo <[email protected]>
---
 pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
index cb8583d..4360be6 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
@@ -637,7 +637,7 @@ public class PulsarService implements AutoCloseable {
             throw new PulsarServerException(e);
         }
 
-        this.configurationCacheService = new 
ConfigurationCacheService(getGlobalZkCache(), this.config.getClusterName());
+        this.configurationCacheService = new 
ConfigurationCacheService(globalZkCache, this.config.getClusterName());
         this.localZkCacheService = new 
LocalZooKeeperCacheService(getLocalZkCache(), this.configurationCacheService);
     }
 

Reply via email to