XComp commented on code in PR #22384:
URL: https://github.com/apache/flink/pull/22384#discussion_r1200275972
##########
flink-runtime/src/test/java/org/apache/flink/runtime/rest/util/DocumentingDispatcherRestEndpoint.java:
##########
@@ -86,20 +86,20 @@ public List<Tuple2<RestHandlerSpecification,
ChannelInboundHandler>> initializeH
return super.initializeHandlers(localAddressFuture);
}
- private enum NoOpElectionService implements LeaderElectionService {
- INSTANCE;
+ private static class NoOpElectionService extends
AbstractLeaderElectionService {
Review Comment:
Yes, we can do that. :+1: The `LeaderElectionService` implementation will go
away with PR #22404 anyway.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]