src/go/plugin/go.d/modules/tengine/collect.go
Method Tengine.collect
has 5 return statements (exceeds 4 allowed). Open
Open
func (t *Tengine) collect() (map[string]int64, error) {
req, err := web.NewHTTPRequest(t.RequestConfig)
if err != nil {
return nil, fmt.Errorf("failed to create HTTP request: %w", err)
}