chore: change interface{} to any (#2818)
* chore: change interface{} to any
* chore: update goctl version to 1.5.0
* chore: update goctl deps
This commit is contained in:
@@ -40,7 +40,7 @@ func TestPromMetricInterceptor(t *testing.T) {
|
||||
}
|
||||
cc := new(grpc.ClientConn)
|
||||
err := PrometheusInterceptor(context.Background(), "/foo", nil, nil, cc,
|
||||
func(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn,
|
||||
func(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn,
|
||||
opts ...grpc.CallOption) error {
|
||||
return test.err
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user