Remove the dependency on the openyurt project and rely on the openyur… #245
Annotations
10 errors and 9 warnings
lint:
pkg/proxyengine/proxyserver/proxyserver.go#L148
Error return value of `wait.PollUntil` is not checked (errcheck)
|
lint:
pkg/engine/tunnel.go#L5
File is not `goimports`-ed (goimports)
|
lint:
pkg/engine/tunnel.go#L107
func `(*TunnelEngine).reconcile` is unused (unused)
|
lint:
pkg/proxyengine/proxyserver/servers.go#L62
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint:
pkg/proxyengine/proxyserver/servers.go#L102
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint:
pkg/proxyengine/proxyserver/servers.go#L126
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint:
pkg/proxyengine/proxyserver/interceptor.go#L275
S1023: redundant `return` statement (gosimple)
|
lint:
pkg/proxyengine/proxyserver/servers.go#L76
S1023: redundant `return` statement (gosimple)
|
lint:
pkg/proxyengine/proxyserver/servers.go#L139
S1023: redundant `return` statement (gosimple)
|
lint
issues found
|
Shellcheck
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/
|
Shellcheck
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/
|
Shellcheck
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/
|
Shellcheck
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/
|
Shellcheck
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/
|
go-mod
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint:
pkg/proxyengine/proxyserver/interceptor.go#L308
var-naming: func isHttpCloseError should be isHTTPCloseError (revive)
|
lint:
pkg/engine/utils.go#L14
unexported-return: exported func NewEngineOption returns unexported type *engine.engineOption, which can be annoying to use (revive)
|
lint:
pkg/engine/proxy.go#L304
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|