TisonKun commented on a change in pull request #9821: [FLINK-14298] Replace LeaderContender#getAddress with #getDescription URL: https://github.com/apache/flink/pull/9821#discussion_r329640235
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobManagerRunnerImpl.java ########## @@ -394,8 +394,8 @@ public void revokeLeadership() { } private CompletableFuture<Void> revokeJobMasterLeadership() { - log.info("JobManager for job {} ({}) was revoked leadership at {}.", - jobGraph.getName(), jobGraph.getJobID(), getAddress()); + log.info("JobManager for job {} ({}) at {} was revoked leadership.", + jobGraph.getName(), jobMasterService.getAddress(), jobGraph.getJobID()); Review comment: ```suggestion jobGraph.getName(), jobGraph.getJobID(), jobMasterService.getAddress()); ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services