소스 검색

Merge pull request #6297 from gyuho/grpc-proxy

grpcproxy: fix recursive Context method
Gyu-Ho Lee 9 년 전
부모
커밋
452dedf8ab
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      proxy/grpcproxy/watch_client_adapter.go

+ 1 - 1
proxy/grpcproxy/watch_client_adapter.go

@@ -118,7 +118,7 @@ type chanStream struct {
 	ctx   context.Context
 }
 
-func (s *chanStream) Context() context.Context { return s.Context() }
+func (s *chanStream) Context() context.Context { return s.ctx }
 
 func (s *chanStream) SendMsg(m interface{}) error {
 	select {