Fix ZK LeaderInitiator Checkstyle violation

**Cherry-pick to 5.0.x**

(cherry picked from commit af89733)
This commit is contained in:
Artem Bilan
2018-05-31 11:34:40 -04:00
parent b413e0fb84
commit abfda64798

View File

@@ -221,7 +221,7 @@ public class LeaderInitiator implements SmartLifecycle {
*/
public Context getContext() {
if (this.leaderSelector == null) {
return nullContext;
return this.nullContext;
}
return this.context;
}