mirror of https://github.com/k3s-io/k3s
Fix wrong error variable
parent
af0835c0f4
commit
2d7dbc2271
|
@ -1331,7 +1331,7 @@ func (dm *DockerManager) KillContainerInPod(containerID kubecontainer.ContainerI
|
|||
}
|
||||
storedPod, storedContainer, cerr := containerAndPodFromLabels(inspect)
|
||||
if cerr != nil {
|
||||
glog.Errorf("unable to access pod data from container: %v", err)
|
||||
glog.Errorf("unable to access pod data from container: %v", cerr)
|
||||
}
|
||||
if container == nil {
|
||||
container = storedContainer
|
||||
|
|
Loading…
Reference in New Issue