Skip to content

Commit

Permalink
remove useless
Browse files Browse the repository at this point in the history
Signed-off-by: okJiang <[email protected]>
  • Loading branch information
okJiang committed Dec 27, 2024
1 parent 9d6034f commit 2533e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/pd_interceptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (m InterceptedPDClient) GetRegionByID(ctx context.Context, regionID uint64,
func (m InterceptedPDClient) ScanRegions(ctx context.Context, key, endKey []byte, limit int, opts ...opt.GetRegionOption) ([]*router.Region, error) {
start := time.Now()
//nolint:staticcheck
r, err := m.Client.WithCallerComponent("intercepted-pd-client").ScanRegions(ctx, key, endKey, limit, opts...)
r, err := m.Client.ScanRegions(ctx, key, endKey, limit, opts...)
recordPDWaitTime(ctx, start)
return r, err
}
Expand Down

0 comments on commit 2533e17

Please sign in to comment.