mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
grpcproxy: fix recursive Context method
This commit is contained in:
parent
e53b99588a
commit
86bf2bc443
@ -118,7 +118,7 @@ type chanStream struct {
|
|||||||
ctx context.Context
|
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 {
|
func (s *chanStream) SendMsg(m interface{}) error {
|
||||||
select {
|
select {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user