Synchronize common files from prometheus/prometheus #381
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
1 error and 4 warnings
lint
issues found
|
lint:
config/config.go#L97
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
lint:
config/config.go#L289
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
lint:
generator/main.go#L33
unused-parameter: parameter 'nameToNode' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
collector/collector_test.go#L534
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|