Fix public function comment (#5181)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-02-26 18:39:20 -03:00 committed by GitHub
parent 28d0c6dc7a
commit 0ccf520c99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ func GetDeploymentPod(flags *genericclioptions.ConfigFlags, deployment string) (
return ings[0], nil
}
// GetDeploymentPod finds a pod from a given deployment
// GetLabeledPod finds a pod from a given label
func GetLabeledPod(flags *genericclioptions.ConfigFlags, label string) (apiv1.Pod, error) {
ings, err := getLabeledPods(flags, label)
if err != nil {