Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: mornyx <mornyx.z@gmail.com>
  • Loading branch information
mornyx committed Dec 16, 2021
1 parent 6da64bf commit 7197af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tikvrpc/interceptor/interceptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ import (
// }
// }
// txn.SetRPCInterceptor(GetLogInterceptor())
// ```
//
// NOTE: Interceptor calls may not correspond one-to-one with the underlying gRPC requests.
// This is because there may be some exceptions, such as: request collapsed, request batched,
// no valid connection etc. If you have questions about the execution location of RPCInterceptor,
// please refer to: internal/client/client_collapse.go#SendRequest.
// ```
type RPCInterceptor func(next RPCInterceptorFunc) RPCInterceptorFunc

// RPCInterceptorFunc is a callable function used to initiate a request to TiKV.
Expand Down

0 comments on commit 7197af6

Please sign in to comment.