mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-06-29 16:56:48 +00:00
fix compile error
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
4bbe0fad79
commit
52bbf5c786
@ -8,7 +8,6 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/fatih/color"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
"github.com/ahmetb/kubectx/internal/cmdutil"
|
"github.com/ahmetb/kubectx/internal/cmdutil"
|
||||||
@ -39,7 +38,6 @@ func (op ListOp) Run(stdout, stderr io.Writer) error {
|
|||||||
return errors.Wrap(err, "could not list namespaces (is the cluster accessible?)")
|
return errors.Wrap(err, "could not list namespaces (is the cluster accessible?)")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for _, c := range ns {
|
for _, c := range ns {
|
||||||
s := c
|
s := c
|
||||||
if c == curNs {
|
if c == curNs {
|
||||||
|
Loading…
Reference in New Issue
Block a user