pkg/kubeconfig/write.go
Showing 1 of 1 total issue
Method KConf.Merge
has a Cognitive Complexity of 26 (exceeds 20 allowed). Consider refactoring. Open
Open
func (k *KConf) Merge(config *clientcmdapi.Config, name string) { renamedClusters := make(map[string]string) renamedUsers := make(map[string]string) for clsName, cls := range config.Clusters {
- Read upRead up