Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: Shirly <[email protected]>
  • Loading branch information
AndreMouche committed Apr 16, 2024
1 parent 40cc806 commit 411e7c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/statistics/region_collection.go
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@ func logDownPeerWithNoDisconnectedStore(region *core.RegionInfo, stores []*core.
for _, p := range region.GetDownPeers() {
log.Warn("region has down peer on connected store",
zap.Uint64("region-id", region.GetID()),
zap.Uint64("down-peer", p.Peer.Id),
zap.Uint64("down seconds", p.DownSeconds),
zap.Uint64("store-id", p.Peer.StoreId))
zap.Uint64("down-peer", p.GetPeer().GetId()),
zap.Uint64("down-seconds", p.GetDownSeconds()),
zap.Uint64("store-id", p.GetPeer().GetStoreId()))
}
}

0 comments on commit 411e7c0

Please sign in to comment.