Refactor the controller API and failover/migration #311
ci.yaml
on: pull_request
Lint
1m 10s
Check Docker image
0s
Matrix: Build and test
Annotations
5 errors and 1 warning
Lint
`(*Cluster).increaseFailureCount` - `index` is unused (unparam)
|
Lint:
controller/controller.go#L131
(*Controller).addCluster - result 0 (error) is always nil (unparam)
|
Lint:
controller/controller.go#L140
(*Controller).removeCluster - result 0 (error) is always nil (unparam)
|
Lint:
server/middleware/middleware.go#L82
type assertion must be checked (forcetypeassert)
|
Lint
Process completed with exit code 2.
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|