mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
update according to the review
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
parent
bebefd8b80
commit
508ce517e0
@ -348,7 +348,7 @@ func (sws *serverWatchStream) recvLoop() error {
|
|||||||
// we probably should not shutdown the entire stream when
|
// we probably should not shutdown the entire stream when
|
||||||
// receive an invalid command.
|
// receive an invalid command.
|
||||||
// so just do nothing instead.
|
// so just do nothing instead.
|
||||||
sws.lg.Warn("invalid watch request received in gRPC stream")
|
sws.lg.Sugar().Infof("invalid watch request type %T received in gRPC stream", uv)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user