RT-5.7 Fix #28862
Annotations
10 errors and 1 warning
|
Run revive:
internal/otg_helpers/otg_config_helpers/otgisisblockhelpers.go#L208
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
|
|
Run revive:
internal/otg_helpers/otg_config_helpers/otgrouteadvertise.go#L83
parameter 'ipv6' seems to be unused, consider removing or renaming it as _
|
|
Run revive:
internal/otg_helpers/otg_config_helpers/otgisistopology.go#L109
parameter 'top' seems to be unused, consider removing or renaming it as _
|
|
Run revive:
internal/otg_helpers/otg_config_helpers/otgbgphelpers.go#L38
comment on exported type ISISInterfaceAttrs should be of the form "ISISInterfaceAttrs ..." (with optional leading article)
|
|
Run revive:
internal/otg_helpers/otg_config_helpers/otgrouteadvertise.go#L83
parameter 'ipv4' seems to be unused, consider removing or renaming it as _
|
|
Run revive:
internal/otg_helpers/otg_config_helpers/otgrouteadvertise.go#L16
comment on exported const ISISATESystemIDPrefix should be of the form "ISISATESystemIDPrefix ..."
|
|
Run revive:
internal/otg_helpers/otg_config_helpers/otgrouteadvertise.go#L14
exported const ATEAS should have comment (or a comment on this block) or be unexported
|
|
Run revive:
internal/latency/interceptor_test.go#L118
parameter 'm' seems to be unused, consider removing or renaming it as _
|
|
Run revive:
internal/otg_helpers/otg_config_helpers/otgisistopology.go#L1
package comment should be of the form "Package otgconfighelpers ..."
|
|
Run revive:
internal/containerztest/containerztest.go#L15
should have a package comment
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading