hysteria2, grpc: fix the use of GetTLSConfig (#3176) #2591
Annotations
10 errors and 2 warnings
transport/internet/system_listener.go#L94
ifElseChain: rewrite if-else to switch statement (gocritic)
|
main/plugins/plugin_pprof/plugin_pprof.go#L4
File is not `gofumpt`-ed (gofumpt)
|
main/plugins/plugin_pprof/plugin_pprof.go#L6
File is not `gofumpt`-ed (gofumpt)
|
transport/internet/hysteria2/conn.go#L14
File is not `gofumpt`-ed (gofumpt)
|
main/plugins/plugin_pprof/plugin_pprof.go#L7
File is not `goimports`-ed with -local github.com/v2fly/v2ray-core (goimports)
|
transport/internet/tls/ech.go#L15
File is not `goimports`-ed with -local github.com/v2fly/v2ray-core (goimports)
|
testing/scenarios/common.go#L16
File is not `goimports`-ed with -local github.com/v2fly/v2ray-core (goimports)
|
transport/internet/hysteria2/dialer.go#L193
unnecessary conversion (unconvert)
|
proxy/hysteria2/protocol.go#L62
unnecessary conversion (unconvert)
|
proxy/vlite/inbound/inbound.go#L149
enableInterface - result 0 (error) is always nil (unparam)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
This job failed
Loading