[minor] avoid function call to get globalzk
@@ -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);
}
