mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #54739 from xiangpengzhao/handleerr
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Add FailedPostStartHook error message. **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #54671 **Special notes for your reviewer**: /cc @derekwaynecarr cc @lovejoy @OJezu **Release note**: ```release-note NONE ```
This commit is contained in:
commit
b79fe10730
@ -165,7 +165,7 @@ func (m *kubeGenericRuntimeManager) startContainer(podSandboxID string, podSandb
|
|||||||
glog.Errorf("Failed to kill container %q(id=%q) in pod %q: %v, %v",
|
glog.Errorf("Failed to kill container %q(id=%q) in pod %q: %v, %v",
|
||||||
container.Name, kubeContainerID.String(), format.Pod(pod), ErrPostStartHook, err)
|
container.Name, kubeContainerID.String(), format.Pod(pod), ErrPostStartHook, err)
|
||||||
}
|
}
|
||||||
return msg, ErrPostStartHook
|
return msg, fmt.Errorf("%s: %v", ErrPostStartHook, handlerErr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user