Skip to content

Commit 68a2d71

Browse files
manusaCali0707
andcommitted
Update pkg/kubernetes/provider_kubeconfig.go
Co-authored-by: Calum Murray <cmurray@redhat.com> Signed-off-by: Marc Nuri <marc@marcnuri.com>
1 parent e355e10 commit 68a2d71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/kubernetes/provider_kubeconfig.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ func (p *kubeConfigClusterProvider) VerifyToken(ctx context.Context, context, to
9494

9595
func (p *kubeConfigClusterProvider) GetTargets(ctx context.Context) ([]string, error) {
9696
contextNames := make([]string, 0, len(p.managers))
97-
for cluster := range p.managers {
98-
contextNames = append(contextNames, cluster)
97+
for contextName := range p.managers {
98+
contextNames = append(contextNames, contextName)
9999
}
100100

101101
return contextNames, nil

0 commit comments

Comments
 (0)