chore(deps): update golang version to 1.21 #198
Annotations
10 errors and 2 warnings
tests/integration/helpers/helpers.go#L5
File is not `goimports`-ed (goimports)
|
tests/integration/helpers/helpers.go#L15
mnd: Magic number: 3, in <argument> detected (gomnd)
|
src/metrics_test.go#L53
53-83 lines are duplicate of `src/metrics_test.go:96-125` (dupl)
|
src/metrics_test.go#L96
96-125 lines are duplicate of `src/metrics_test.go:53-83` (dupl)
|
src/inventory.go#L16
Function 'populateInventory' has too many statements (57 > 50) (funlen)
|
src/inventory.go#L38
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(curValue, "/", ":", -1)` (gocritic)
|
src/metrics.go#L274
assignOp: replace `prefix = prefix + "."` with `prefix += "."` (gocritic)
|
src/metrics.go#L245
sloppyLen: len(jsonMetrics) <= 0 can be len(jsonMetrics) == 0 (gocritic)
|
src/metrics.go#L272
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(prefix, "/", ".", -1)` (gocritic)
|
src/metrics.go#L197
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(resp.Header.Get("Server"), "nginx/", "", -1)` (gocritic)
|
|
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/
|
The logs for this run have expired and are no longer available.
Loading