Merge pull request #151 from noctarius/main #12
Annotations
10 errors and 11 warnings
lint:
buffer.go#L159
Error return value of `w.Write` is not checked (errcheck)
|
lint:
cmd/dogstatsd/main.go#L62
Error return value of `fset.Parse` is not checked (errcheck)
|
lint:
cmd/dogstatsd/main.go#L78
SA4006: this value of `args` is never used (staticcheck)
|
lint:
cmd/dogstatsd/main.go#L87
SA4006: this value of `args` is never used (staticcheck)
|
lint:
cmd/dogstatsd/main.go#L113
Error return value of `fset.Parse` is not checked (errcheck)
|
lint:
cmd/dogstatsd/main.go#L116
Error return value of `datadog.ListenAndServe` is not checked (errcheck)
|
lint:
context_test.go#L20
SA1029: should not use built-in type string as key for value; define your own type to avoid collisions (staticcheck)
|
lint:
datadog/client.go#L197
Error return value of `syscall.SetNonblock` is not checked (errcheck)
|
lint:
datadog/server.go#L37
S1023: redundant `return` statement (gosimple)
|
lint:
engine_test.go#L94
func `testEngineWithTags` is unused (unused)
|
lint
The `save-state` 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/
|
lint:
cmd/dogstatsd/main.go#L121
unused-parameter: parameter 'a' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
cmd/dogstatsd/main.go#L125
unused-parameter: parameter 'a' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
engine_test.go#L309
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
handler.go#L100
unused-parameter: parameter 'time' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
httpstats/metrics.go#L61
unused-parameter: parameter 'b' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
netstats/handler_test.go#L13
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
procstats/linux/stat.go#L18
var-naming: don't use underscores in Go names; const Dead_ should be Dead (revive)
|
lint:
statstest/handler.go#L24
unused-parameter: parameter 'time' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
tag_test.go#L258
var-naming: don't use underscores in Go names; func benchmark_SortTags should be benchmarkSortTags (revive)
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/stats/stats. Supported file pattern: go.sum
|