add more labels to connections metric #13
Annotations
10 errors and 1 warning
Tests:
pkg/net/endpoint.go#L94
string `://` has 3 occurrences, make it a constant (goconst)
|
Tests:
pkg/net/listener_test.go#L22
string `unix://` has 4 occurrences, make it a constant (goconst)
|
Tests:
app/metrics/prometheus/pushgateway/job_test.go#L50
string `://` has 2 occurrences, make it a constant (goconst)
|
Tests:
server/tests/ot-trace-cllent-server_test.go#L184
string `/v1/uppercase` has 3 occurrences, make it a constant (goconst)
|
Tests:
pkg/ranges/multi-range.go#L11
`factory` is unused (structcheck)
|
Tests:
pkg/ranges/multi-range.go#L12
`ranges` is unused (structcheck)
|
Tests:
pkg/ranges/ints-ranges.go#L24
`lower` is unused (structcheck)
|
Tests:
pkg/ranges/ints-ranges.go#L25
`upper` is unused (structcheck)
|
Tests:
pkg/patterns/graceful-shutdown/chan.go#L15
`ifNoRes` is unused (structcheck)
|
Tests:
pkg/patterns/graceful-shutdown/chan.go#L13
`c` is unused (structcheck)
|
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|