mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #4271 from ArtfulCoder/logging_etcd
Updated etcd-pod-dir-fetch logging.
This commit is contained in:
commit
c55921676c
@ -61,6 +61,10 @@ func (s *sourceEtcd) run() {
|
||||
boundPods := api.BoundPods{}
|
||||
err := s.helper.ExtractObj(s.key, &boundPods, false)
|
||||
if err != nil {
|
||||
if tools.IsEtcdNotFound(err) {
|
||||
glog.V(4).Infof("etcd failed to retrieve the value for the key %q. Error: %v", s.key, err)
|
||||
return
|
||||
}
|
||||
glog.Errorf("etcd failed to retrieve the value for the key %q. Error: %v", s.key, err)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user