Skip to content

Commit

Permalink
Switch to 2opremio/go-k8s-portforward
Browse files Browse the repository at this point in the history
This is needed until oliviabarrick/go-k8s-portforward#6
is merged.
  • Loading branch information
Alfonso Acosta committed Apr 12, 2019
1 parent 65d11c6 commit 42f0646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/fluxctl/portforward.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/justinbarrick/go-k8s-portforward"
"github.com/2opremio/go-k8s-portforward"
"github.com/pkg/errors"

metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand All @@ -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 pod for selector") {
return
} else {
message = fmt.Sprintf("%s\n %s", message, metav1.FormatLabelSelector(&selector))
Expand Down

0 comments on commit 42f0646

Please sign in to comment.