Fix portforward error check
@@ -21,7 +21,7 @@ func tryPortforwards(ns string, selectors ...metav1.LabelSelector) (p *portforwa
return
}
- if !strings.Contains(err.Error(), "Could not find pod for selector") {
+ if !strings.Contains(err.Error(), "Could not find running pod for selector") {
return
} else {
message = fmt.Sprintf("%s\n %s", message, metav1.FormatLabelSelector(&selector))
