Skip to content

Implement Force Removal Taint Logic #107

Implement Force Removal Taint Logic

Implement Force Removal Taint Logic #107

Re-run triggered September 18, 2024 23:01
Status Failure
Total duration 1m 35s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: pkg/controller/controller_scale_node_group_test.go#L129
assignment mismatch: 3 variables but controller.filterNodes returns 4 values
lint: pkg/controller/controller_scale_node_group_test.go#L196
assignment mismatch: 3 variables but controller.filterNodes returns 4 values
lint: pkg/controller/controller_test.go#L161
assignment mismatch: 3 variables but c.filterNodes returns 4 values
lint: pkg/controller/scale_down_test.go#L91
cannot use nodeGroupsState["example"] (map index expression of type *NodeGroupState) as []*"k8s.io/api/core/v1".Node value in struct literal
lint: pkg/controller/scale_down_test.go#L92
cannot use 2 (untyped int constant) as *NodeGroupState value in struct literal
lint: pkg/controller/scale_down_test.go#L93
too few values in struct literal of type scaleOpts
lint: pkg/controller/scale_down_test.go#L106
cannot use nodeGroupsState["example"] (map index expression of type *NodeGroupState) as []*"k8s.io/api/core/v1".Node value in struct literal
lint: pkg/controller/scale_down_test.go#L107
cannot use 4 (untyped int constant) as *NodeGroupState value in struct literal
lint: pkg/controller/scale_down_test.go#L108
too few values in struct literal of type scaleOpts
lint: pkg/controller/scale_down_test.go#L121
cannot use nodeGroupsState["example"] (map index expression of type *NodeGroupState) as []*"k8s.io/api/core/v1".Node value in struct literal
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/