Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
pinges committed Jan 2, 2024
1 parent 2bcf1cc commit 73c094f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ protected void decode(final ChannelHandlerContext ctx, final ByteBuf in, final L
if (discoveryPeer.isPresent()) {
peer = Optional.of(discoveryPeer.get());
if (peer.get().getForkId().isPresent()) {
discPeerRecoveryCounter.labels("discovery-peer-found-with-forkId").inc();
discPeerRecoveryCounter.labels("discovery_peer_found_with_forkId").inc();
} else {
discPeerRecoveryCounter.labels("discovery-peer-found-without-forkId").inc();
discPeerRecoveryCounter.labels("discovery_peer_found_without_forkId").inc();
}
} else {
discPeerRecoveryCounter.labels("discovery-peer-not-found").inc();
discPeerRecoveryCounter.labels("discovery_peer_not_found").inc();
}
}

Expand Down

0 comments on commit 73c094f

Please sign in to comment.