Fix interceptor handler parameter
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
parent
da8f4bb904
commit
7206427df4
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