src/go/plugin/go.d/modules/k8s_state/cluster_meta.go
Function doMetaGKEHTTPReq
has 6 return statements (exceeds 4 allowed). Open
Open
func doMetaGKEHTTPReq(client *http.Client, url string) (string, error) {
req, err := http.NewRequest(http.MethodGet, url, nil)
if err != nil {
return "", err
}