mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Merge pull request #20954 from Random-Liu/add-missing-pod-sync-result
Auto commit by PR queue bot
This commit is contained in:
commit
24b33964c9
@ -1216,7 +1216,9 @@ func (dm *DockerManager) killPodWithSyncResult(pod *api.Pod, runningPod kubecont
|
||||
if networkContainer != nil {
|
||||
ins, err := dm.client.InspectContainer(networkContainer.ID.ID)
|
||||
if err != nil {
|
||||
glog.Errorf("Error inspecting container %v: %v", networkContainer.ID.ID, err)
|
||||
err = fmt.Errorf("Error inspecting container %v: %v", networkContainer.ID.ID, err)
|
||||
glog.Error(err)
|
||||
result.Fail(err)
|
||||
return
|
||||
}
|
||||
if ins.HostConfig != nil && ins.HostConfig.NetworkMode != namespaceModeHost {
|
||||
|
Loading…
Reference in New Issue
Block a user