Skip to content

Commit

Permalink
Update server/grpc_service.go
Browse files Browse the repository at this point in the history
Signed-off-by: Zheming Li nkdudu@126.com
  • Loading branch information
lizhemingi committed Sep 3, 2020
1 parent 5f16212 commit b568a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/grpc_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ func (s *Server) StoreHeartbeat(ctx context.Context, request *pdpb.StoreHeartbea
}

storeID := request.Stats.GetStoreId()
storeLabel := strconv.FormatUint(request.Stats.GetStoreId(), 10)
storeLabel := strconv.FormatUint(storeID, 10)
store := rc.GetStore(storeID)
if store == nil {
return nil, core.NewStoreNotFoundErr(storeID)
Expand Down

0 comments on commit b568a5b

Please sign in to comment.