fix(deps): update module github.com/prometheus/common to v0.62.0 #1474
Annotations
10 errors and 2 warnings
golangci-lint:
load-test/mockexporter/mockexporter.go#L81
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"could not open %s: %v\", ms.MetricsFile, err)" (err113)
|
golangci-lint:
load-test/mockexporter/mockexporter.go#L86
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"could not load metrics into memory: %v\", err)" (err113)
|
golangci-lint:
load-test/mockexporter/mockexporter.go#L95
printf: non-constant format string in call to log.Printf (govet)
|
golangci-lint:
load-test/mockexporter/mockexporter.go#L6
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
golangci-lint:
internal/pkg/labels/labels.go#L71
cyclomatic complexity 11 of func `ToAdd` is high (> 10) (gocyclo)
|
golangci-lint:
internal/pkg/labels/labels_test.go#L71
Function 'TestToAdd' is too long (142 > 100) (funlen)
|
golangci-lint:
internal/pkg/labels/labels.go#L17
File is not properly formatted (gofmt)
|
golangci-lint:
internal/retry/retry.go#L79
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"timeout reached, %d retries executed. last error: %s\", nRetries, lastError)" (err113)
|
golangci-lint:
internal/integration/rules_test.go#L65
65-146 lines are duplicate of `internal/integration/rules_test.go:148-229` (dupl)
|
golangci-lint:
internal/integration/rules_test.go#L148
148-229 lines are duplicate of `internal/integration/rules_test.go:65-146` (dupl)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check if CHANGELOG is valid
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading