ing
This commit is contained in:
parent
2810e39817
commit
4a4a6a7efa
|
@ -38,8 +38,9 @@ func (sh *GatewayRPCServletHandlers) Invoke(servletCTX rpc.ServletContext, reque
|
|||
|
||||
md := servletCTX.GetAttribute(oogw.GRPCMetadataKey)
|
||||
if nil == md {
|
||||
clientType := servletCTX.GetAttribute(oogw.ClientTypeKey).(oogw.ClientType)
|
||||
md = metadata.Pairs(
|
||||
oogw.GRPCClientTypeKey, servletCTX.GetAttribute(oogw.ClientTypeKey).(string),
|
||||
oogw.GRPCClientTypeKey, clientType.String(),
|
||||
oogw.GRPCSessionIDKey, servletCTX.GetAttribute(oogw.SocketIDKey).(string),
|
||||
oogw.GRPCTargetIDKey, servletCTX.GetAttribute(oogw.TargetIDKey).(string))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user