Skip to content

Commit f3f9fd8

Browse files
manusaCali0707
andcommitted
Update pkg/kubernetes/provider_kubeconfig.go
Co-authored-by: Calum Murray <[email protected]> Signed-off-by: Marc Nuri <[email protected]>
1 parent 6f2819e commit f3f9fd8

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)