mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #10994 from yuzeming/patch-2
v3rpc: fix a typo `err`
This commit is contained in:
commit
877aa2497e
@ -179,7 +179,7 @@ func (ws *watchServer) Watch(stream pb.Watch_WatchServer) (err error) {
|
||||
}
|
||||
} else {
|
||||
if sws.lg != nil {
|
||||
sws.lg.Warn("failed to receive watch request from gRPC stream", zap.Error(err))
|
||||
sws.lg.Warn("failed to receive watch request from gRPC stream", zap.Error(rerr))
|
||||
} else {
|
||||
plog.Warningf("failed to receive watch request from gRPC stream (%q)", rerr.Error())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user