Skip to content

Commit

Permalink
[minor] avoid function call to get globalzk (apache#6667)
Browse files Browse the repository at this point in the history
Co-authored-by: Sijie Guo <[email protected]>
  • Loading branch information
rdhabalia and sijie authored Apr 7, 2020
1 parent 43bb26d commit 899bb11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ protected void startZkCacheService() throws PulsarServerException {
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);
}

Expand Down

0 comments on commit 899bb11

Please sign in to comment.