fix errors.Errorf

Signed-off-by: guo-shaoge <shaoge1994@163.com>
This commit is contained in:
guo-shaoge 2022-12-17 16:46:55 +08:00
parent ffc2788663
commit 60119cdd7a
1 changed files with 1 additions and 1 deletions

View File

@ -777,7 +777,7 @@ func (c *RegionCache) GetTiFlashComputeRPCContextByConsistentHash(bo *retry.Back
return nil, err
}
if rpcCtx == nil {
return nil, errors.Errorf("rpcCtx is nil", zap.Any("region", id))
return nil, errors.Errorf("rpcCtx is nil, region: %v", id)
}
var store *Store