fix(deps): update module github.com/prometheus/common to v0.67.2 #6346
Annotations
10 errors
|
golangci-lint:
src/metric/definition_test.go#L737
Range statement for test TestEndpointSpecs_KSM_v2_16_Data missing the call to method parallel in test Run (paralleltest)
|
|
golangci-lint:
src/metric/definition_test.go#L512
Range statement for test TestEndpointSpecs_KSM_v2_13_Data missing the call to method parallel in test Run (paralleltest)
|
|
golangci-lint:
src/metric/definition_test.go#L608
cognitive complexity 54 of func `TestEndpointSpecs_KSM_v2_16_Data` is high (> 30) (gocognit)
|
|
golangci-lint:
src/metric/definition_test.go#L399
cognitive complexity 54 of func `TestEndpointSpecs_KSM_v2_13_Data` is high (> 30) (gocognit)
|
|
golangci-lint:
src/prometheus/definition_test.go#L2249
Function 'TestCountFromValueWithLabelsFilter_kubepointAddress' is too long (242 > 100) (funlen)
|
|
golangci-lint:
src/prometheus/definition_test.go#L2067
Function 'TestFromValue_EndpointAddressAvailableAndNotReady' is too long (173 > 100) (funlen)
|
|
golangci-lint:
src/prometheus/definition_test.go#L2735
type assertion must be checked (forcetypeassert)
|
|
golangci-lint:
src/prometheus/definition_test.go#L2724
type assertion must be checked (forcetypeassert)
|
|
golangci-lint:
src/prometheus/definition_test.go#L2681
type assertion must be checked (forcetypeassert)
|
|
golangci-lint:
src/prometheus/definition.go#L791
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\n\t\"incompatible metric type for %s. Expected: Metric or []Metric. Got: %T\",\n\tmetricName,\n\tvalue,\n)" (err113)
|
Loading