Merge pull request #1793 from dchen1107/cleanup

Make watching error logging message less severe since it is expected.
This commit is contained in:
Daniel Smith 2014-10-14 16:55:15 -07:00
commit 0f91a66fe0

View File

@ -68,7 +68,7 @@ func (s *SourceEtcd) run() {
return
}
if event.Type == watch.Error {
glog.Errorf("Watch error: %v", event.Object)
glog.Infof("Watch closed (%#v). Reopening.", event.Object)
watching.Stop()
return
}