Merge pull request #244 from rushtehrani/display-pod-name

Print pod namespace/name instead of func signature
This commit is contained in:
MaciekPytel 2017-08-22 11:14:25 +02:00 committed by GitHub
commit fa657356fb
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ func findPlaceFor(removedNode string, pods []*apiv1.Pod, nodes []*apiv1.Node, no
}
}
if !foundPlace {
return fmt.Errorf("failed to find place for %s", podKey)
return fmt.Errorf("failed to find place for %s", podKey(pod))
}
}