Browse Source

Fix portforward error check

Alfonso Acosta 1 month ago
parent
commit
ada17ad1e6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      cmd/fluxctl/portforward.go

+ 1
- 1
cmd/fluxctl/portforward.go View File

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

Loading…
Cancel
Save