Wireguard rewrite #55
Annotations
10 errors and 7 warnings
lint:
pkg/peers/apps.go#L1
package-comments: should have a package comment (revive)
|
lint:
pkg/peers/peers.go#L5
exported: exported type Peer should have comment or be unexported (revive)
|
lint:
pkg/peers/peers.go#L7
exported: exported type Registry should have comment or be unexported (revive)
|
lint:
pkg/peers/apps.go#L3
exported: exported type App should have comment or be unexported (revive)
|
lint:
pkg/peers/apps.go#L12
exported: exported function WithAddress should have comment or be unexported (revive)
|
lint:
pkg/peers/peers.go#L40
exported: exported function NewRegistry should have comment or be unexported (revive)
|
lint:
pkg/peers/apps.go#L18
exported: exported function WithPeer should have comment or be unexported (revive)
|
lint:
pkg/k8s/svcdetector/directory.go#L46
cognitive complexity 34 of func `NewDirectoryMonitoringAppStateManager` is high (> 25) (gocognit)
|
lint:
pkg/k8s/svcdetector/directory.go#L57
G104: Errors unhandled. (gosec)
|
lint:
pkg/k8s/svcdetector/repository.go#L108
G104: Errors unhandled. (gosec)
|
lint:
pkg/cmd/client.go#L1
package-comments: should have a package comment (revive)
|
lint:
pkg/cmd/state.go#L33
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
lint:
main.go#L1
package-comments: should have a package comment (revive)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|