Skip to content

Commit

Permalink
update get leader log (sofastack#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteNicholas authored and fengjiachun committed Jun 10, 2019
1 parent 2711740 commit 4e89cc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public Status getLeader(final String groupId, final Configuration conf, final Pe
final Status st = new Status(-1, "Fail to get leader of group %s", groupId);
for (final PeerId peer : conf) {
if (!this.cliClientService.connect(peer.getEndpoint())) {
LOG.error("Fail to connect peer {} to get leader for group {}.", groupId);
LOG.error("Fail to connect peer {} to get leader for group {}.", peer, groupId);
continue;
}

Expand Down

0 comments on commit 4e89cc3

Please sign in to comment.