Merge pull request #550 from hqhq/fix_interceptor_ctx
Fix interceptor handler parameter
This commit is contained in:
commit
559a3c1d3c
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ func interceptor(ctx gocontext.Context,
|
|||
default:
|
||||
fmt.Printf("unknown GRPC server type: %#v\n", info.Server)
|
||||
}
|
||||
return handler(global, req)
|
||||
return handler(ctx, req)
|
||||
}
|
||||
|
||||
func handleSignals(signals chan os.Signal, server *grpc.Server) error {
|
||||
|
|
Loading…
Reference in a new issue