mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +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{}
|
boundPods := api.BoundPods{}
|
||||||
err := s.helper.ExtractObj(s.key, &boundPods, false)
|
err := s.helper.ExtractObj(s.key, &boundPods, false)
|
||||||
if err != nil {
|
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)
|
glog.Errorf("etcd failed to retrieve the value for the key %q. Error: %v", s.key, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user