Update changelog with changes from v3.5.0 #161
Annotations
10 errors and 1 warning
golangci-lint:
src/metrics_test.go#L54
54-84 lines are duplicate of `src/metrics_test.go:97-126` (dupl)
|
golangci-lint:
src/metrics_test.go#L97
97-126 lines are duplicate of `src/metrics_test.go:54-84` (dupl)
|
golangci-lint:
src/inventory.go#L16
Function 'populateInventory' has too many statements (57 > 50) (funlen)
|
golangci-lint:
src/inventory.go#L38
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(curValue, "/", ":", -1)` (gocritic)
|
golangci-lint:
src/metrics.go#L274
assignOp: replace `prefix = prefix + "."` with `prefix += "."` (gocritic)
|
golangci-lint:
src/metrics.go#L245
sloppyLen: len(jsonMetrics) <= 0 can be len(jsonMetrics) == 0 (gocritic)
|
golangci-lint:
src/metrics.go#L272
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(prefix, "/", ".", -1)` (gocritic)
|
golangci-lint:
src/metrics.go#L197
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(resp.Header.Get("Server"), "nginx/", "", -1)` (gocritic)
|
golangci-lint:
src/metrics.go#L359
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(resp.Header.Get("Server"), "nginx/", "", -1)` (gocritic)
|
golangci-lint:
src/nginx.go#L132
ifElseChain: rewrite if-else to switch statement (gocritic)
|
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