From 36759c6d53ec60868f14ef047c463fb5958cbf74 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Sun, 13 Mar 2022 17:24:55 -0500 Subject: [PATCH] :rotating_light: Fix lint error --- internal/config/flags/kubernetes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/flags/kubernetes.go b/internal/config/flags/kubernetes.go index c48ac350..1e755f3b 100644 --- a/internal/config/flags/kubernetes.go +++ b/internal/config/flags/kubernetes.go @@ -31,7 +31,7 @@ func Context(cmd *cobra.Command) { return nil, cobra.ShellCompDirectiveNoFileComp } names := make([]string, 0, len(conf.Contexts)) - for name, _ := range conf.Contexts { + for name := range conf.Contexts { names = append(names, name) } return names, cobra.ShellCompDirectiveNoFileComp