performancecounter: support yaml documents and tolerate collector errors #1512
Annotations
8 errors
golangci-lint:
internal/collector/performancecounter/performancecounter.go#L132
fmt.Errorf can be replaced with errors.New (perfsprint)
|
golangci-lint:
internal/collector/performancecounter/performancecounter.go#L150
ranges should only be cuddled with assignments used in the iteration (wsl)
|
golangci-lint:
internal/collector/performancecounter/performancecounter.go#L217
SA4010: this result of append is never used, except maybe in other appends (staticcheck)
|
golangci-lint:
internal/collector/performancecounter/performancecounter.go#L257
SA4010: this result of append is never used, except maybe in other appends (staticcheck)
|
golangci-lint:
internal/collector/performancecounter/performancecounter_test_test.go#L147
only one cuddle assignment allowed before if statement (wsl)
|
golangci-lint:
internal/collector/performancecounter/types.go#L21
tag is not aligned, should be: json:"name" yaml:"name" (tagalign)
|
golangci-lint:
pkg/collector/collect.go#L209
if statements should only be cuddled with assignments used in the if statement itself (wsl)
|
golangci-lint
issues found
|
Loading