mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Merge pull request #1793 from dchen1107/cleanup
Make watching error logging message less severe since it is expected.
This commit is contained in:
commit
0f91a66fe0
@ -68,7 +68,7 @@ func (s *SourceEtcd) run() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if event.Type == watch.Error {
|
if event.Type == watch.Error {
|
||||||
glog.Errorf("Watch error: %v", event.Object)
|
glog.Infof("Watch closed (%#v). Reopening.", event.Object)
|
||||||
watching.Stop()
|
watching.Stop()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user