Browse Source

grpcproxy: fix recursive Context method

Gyu-Ho Lee 9 years ago
parent
commit
86bf2bc443
1 changed files with 1 additions and 1 deletions
  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 {