Fix ZK LeaderInitiator Checkstyle violation

**Cherry-pick to 5.0.x**
This commit is contained in:
Artem Bilan
2018-05-31 11:34:40 -04:00
parent 73dbdb80be
commit af8973345a

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;
}