From 508ce517e0751fae63664070d83c57cc010ea008 Mon Sep 17 00:00:00 2001 From: spacewander Date: Wed, 17 Aug 2022 09:25:37 +0800 Subject: [PATCH] update according to the review Signed-off-by: spacewander --- server/etcdserver/api/v3rpc/watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/etcdserver/api/v3rpc/watch.go b/server/etcdserver/api/v3rpc/watch.go index abd9b99a7..1a3cff539 100644 --- a/server/etcdserver/api/v3rpc/watch.go +++ b/server/etcdserver/api/v3rpc/watch.go @@ -348,7 +348,7 @@ func (sws *serverWatchStream) recvLoop() error { // we probably should not shutdown the entire stream when // receive an invalid command. // 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 } }