mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #21728 from yifan-gu/rkt_fix_kill
Auto commit by PR queue bot
This commit is contained in:
commit
527d3e6739
@ -1045,7 +1045,8 @@ func (r *Runtime) KillPod(pod *api.Pod, runningPod kubecontainer.Pod) error {
|
|||||||
|
|
||||||
res := <-reschan
|
res := <-reschan
|
||||||
if res != "done" {
|
if res != "done" {
|
||||||
glog.Errorf("rkt: Failed to stop unit %q: %s", serviceName, res)
|
err := fmt.Errorf("invalid result: %s", res)
|
||||||
|
glog.Errorf("rkt: Failed to stop unit %q: %v", serviceName, err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user