From 780b3e35216a5e8f829e7df402369f8367859428 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 29 Nov 2017 02:31:29 +0900 Subject: [PATCH] ing --- internal/server/rpc/gateway_rpc_servlet_handlers.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/server/rpc/gateway_rpc_servlet_handlers.go b/internal/server/rpc/gateway_rpc_servlet_handlers.go index f345af5..59868a7 100644 --- a/internal/server/rpc/gateway_rpc_servlet_handlers.go +++ b/internal/server/rpc/gateway_rpc_servlet_handlers.go @@ -1,7 +1,6 @@ package rpc import ( - "context" "fmt" "git.loafle.net/commons_go/logging" @@ -39,7 +38,7 @@ func (sh *GatewayRPCServletHandlers) WriteNotification(servletCTX rpc.ServletCon func (sh *GatewayRPCServletHandlers) Invoke(servletCTX rpc.ServletContext, requestCodec protocol.RegistryCodec) (result interface{}, err error) { md := metadata.Pairs(oogw.GRPCUserIDKey, servletCTX.GetAttribute(oogw.SocketIDKey).(string)) - grpcCTX := metadata.NewOutgoingContext(context.Background(), md) + // grpcCTX := metadata.NewOutgoingContext(context.Background(), md) params, err := requestCodec.Params() if nil != err {