From 2810e39817c9aeb2c6f164b20c9ebc1be24c9126 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 27 Mar 2018 19:39:36 +0900 Subject: [PATCH] ing --- internal/server/rpc/gateway_rpc_servlet_handlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/server/rpc/gateway_rpc_servlet_handlers.go b/internal/server/rpc/gateway_rpc_servlet_handlers.go index 08b5a6c..a540b51 100644 --- a/internal/server/rpc/gateway_rpc_servlet_handlers.go +++ b/internal/server/rpc/gateway_rpc_servlet_handlers.go @@ -39,9 +39,9 @@ func (sh *GatewayRPCServletHandlers) Invoke(servletCTX rpc.ServletContext, reque md := servletCTX.GetAttribute(oogw.GRPCMetadataKey) if nil == md { md = metadata.Pairs( - oogw.GRPCClientTypeKey, servletCTX.GetAttribute(oogw.SocketIDKey).(string), + oogw.GRPCClientTypeKey, servletCTX.GetAttribute(oogw.ClientTypeKey).(string), oogw.GRPCSessionIDKey, servletCTX.GetAttribute(oogw.SocketIDKey).(string), - oogw.GRPCTargetIDKey, servletCTX.GetAttribute(oogw.SocketIDKey).(string)) + oogw.GRPCTargetIDKey, servletCTX.GetAttribute(oogw.TargetIDKey).(string)) servletCTX.SetAttribute(oogw.GRPCMetadataKey, md) }