cleaning up spell

mine
derailed 2019-03-25 18:48:23 -06:00
parent ec626e991c
commit 2958696fdd
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ func (a *APIClient) ValidNamespaces() ([]v1.Namespace, error) {
return nn.Items, nil
}
// ValidPods returns a collection of all availble pods on a given node.
// ValidPods returns a collection of all available pods on a given node.
func (a *APIClient) ValidPods(node string) ([]v1.Pod, error) {
const selFmt = "spec.nodeName=%s,status.phase!=%s,status.phase!=%s"
fieldSelector, err := fields.ParseSelector(fmt.Sprintf(selFmt, node, v1.PodSucceeded, v1.PodFailed))