mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Fix wrong error variable
This commit is contained in:
parent
af0835c0f4
commit
2d7dbc2271
@ -1331,7 +1331,7 @@ func (dm *DockerManager) KillContainerInPod(containerID kubecontainer.ContainerI
|
|||||||
}
|
}
|
||||||
storedPod, storedContainer, cerr := containerAndPodFromLabels(inspect)
|
storedPod, storedContainer, cerr := containerAndPodFromLabels(inspect)
|
||||||
if cerr != nil {
|
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 {
|
if container == nil {
|
||||||
container = storedContainer
|
container = storedContainer
|
||||||
|
Loading…
Reference in New Issue
Block a user