Make watching error logging message less severe since it is expected.

Fix #1653
This commit is contained in:
Dawn Chen 2014-10-14 16:30:13 -07:00
parent 58ed4eb3bc
commit 33ef0ca159

View File

@ -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
} }