Fix ZK LeaderInitiator Checkstyle violation
**Cherry-pick to 5.0.x**
(cherry picked from commit af89733)
This commit is contained in:
@@ -221,7 +221,7 @@ public class LeaderInitiator implements SmartLifecycle {
|
||||
*/
|
||||
public Context getContext() {
|
||||
if (this.leaderSelector == null) {
|
||||
return nullContext;
|
||||
return this.nullContext;
|
||||
}
|
||||
return this.context;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user