Merge pull request #17274 from mqliang/podController

fix errror message
pull/6/head
Abhi Shah 2015-11-18 14:17:31 -08:00
commit 3b014c71dd
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ func (s *StoreToReplicationControllerLister) GetPodControllers(pod *api.Pod) (co
controllers = append(controllers, rc)
}
if len(controllers) == 0 {
err = fmt.Errorf("Could not find daemon set for pod %s in namespace %s with labels: %v", pod.Name, pod.Namespace, pod.Labels)
err = fmt.Errorf("Could not find controller for pod %s in namespace %s with labels: %v", pod.Name, pod.Namespace, pod.Labels)
}
return
}