Add the framework and mocks for testing udp_proxy.go #3458
pull_request.yml
on: pull_request
Matrix: receptor
lint-receptor
26s
container
1m 53s
Matrix: lint-receptorctl
Matrix: Receptorctl test coverage
Matrix: receptorctl
Annotations
6 errors
lint-receptor:
pkg/services/udp_proxy_test.go#L89
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
lint-receptor:
pkg/services/udp_proxy_test.go#L148
elseif: can replace 'else {if cond {}}' with 'else if cond {}' (gocritic)
|
lint-receptor:
pkg/services/udp_proxy_test.go#L156
unnecessary trailing newline (whitespace)
|
lint-receptor:
pkg/services/udp_proxy_test.go#L88
return with no blank line before (nlreturn)
|
lint-receptor:
pkg/services/udp_proxy_test.go#L147
return with no blank line before (nlreturn)
|
lint-receptor
issues found
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
receptor-1.22
|
28.2 MB |
|