Fix wrong error variable

pull/6/head
xiangpengzhao 2016-07-18 22:38:20 -04:00
parent af0835c0f4
commit 2d7dbc2271
1 changed files with 1 additions and 1 deletions

View File

@ -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