fix golint issues in zrpc (#531)
This commit is contained in:
@@ -16,6 +16,7 @@ var (
|
||||
lock sync.Mutex
|
||||
)
|
||||
|
||||
// UnarySheddingInterceptor returns a func that does load shedding on processing unary requests.
|
||||
func UnarySheddingInterceptor(shedder load.Shedder, metrics *stat.Metrics) grpc.UnaryServerInterceptor {
|
||||
ensureSheddingStat()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user