Commit 0155ede0 authored by Daniel Smith's avatar Daniel Smith

Merge pull request #3166 from dchen1107/pd

Propagate syncPod error as event to upper layer.
parents 7dec65f5 d3861377
...@@ -1013,6 +1013,7 @@ func (kl *Kubelet) SyncPods(pods []api.BoundPod) error { ...@@ -1013,6 +1013,7 @@ func (kl *Kubelet) SyncPods(pods []api.BoundPod) error {
err := kl.syncPod(pod, dockerContainers) err := kl.syncPod(pod, dockerContainers)
if err != nil { if err != nil {
glog.Errorf("Error syncing pod, skipping: %v", err) glog.Errorf("Error syncing pod, skipping: %v", err)
record.Eventf(pod, "", "failedSync", "Error syncing pod, skipping: %v", err)
} }
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment