Skip to content

Commit

Permalink
chore: golangci-lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Oct 2, 2024
1 parent 17f2a15 commit 91047d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/api/kubeconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ type KubeConfig struct {
configFlags *genericclioptions.ConfigFlags
config api.Config
kubernetesClient *kubernetes.Clientset
counter int
}

func NewKubeConfigAPI(configFlags *genericclioptions.ConfigFlags, config api.Config) KubeConfig {
Expand Down
2 changes: 0 additions & 2 deletions pkg/cmd/cs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"github.com/spf13/cobra"
"github.com/thoas/go-funk"
"k8s.io/cli-runtime/pkg/genericclioptions"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/tools/clientcmd/api"
api2 "kc/pkg/api"
"kc/pkg/ui"
Expand Down Expand Up @@ -43,7 +42,6 @@ type ContextSwitcherOptions struct {
namespace string
task int
rawConfig api.Config
kubernetesClient *kubernetes.Clientset
kubeConfigApi api2.KubeConfig
onlyCurrentContext bool
}
Expand Down

0 comments on commit 91047d0

Please sign in to comment.