You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
====================================================================================================
append to slice `oldIPsStrings` with non-zero initialized length at https://github.com/rancher/rke/blob/release/v1.5/pki/util.go#L512:1[9](https://github.com/alingse/go-linter-runner/actions/runs/9242985516/job/25426520521#step:4:10)
append to slice `newIPsStrings` with non-zero initialized length at https://github.com/rancher/rke/blob/release/v1.5/pki/util.go#L513:19
append to slice `Env` with non-zero initialized length at https://github.com/rancher/rke/blob/release/v1.5/cluster/plan.go#L216:9
append to slice `Env` with non-zero initialized length at https://github.com/rancher/rke/blob/release/v1.5/cluster/plan.go#L298:9
append to slice `Env` with non-zero initialized length at https://github.com/rancher/rke/blob/release/v1.5/cluster/plan.go#L306:9
append to slice `Env` with non-zero initialized length at https://github.com/rancher/rke/blob/release/v1.5/cluster/plan.go#L339:8
====================================================================================================
the oldIPsStrings := make([]string, len(oldIPs)) should be oldIPsStrings := make([]string, 0, len(oldIPs))
The text was updated successfully, but these errors were encountered:
This repository uses an automated workflow to automatically label issues which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the workflow can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the workflow will automatically close the issue in 14 days. Thank you for your contributions.
I was running github actions to run linter makezero for top github golang repos.
see issues alingse/go-linter-runner#1
and the github actions output https://github.com/alingse/go-linter-runner/actions/runs/9242985516/job/25426520521
the
oldIPsStrings := make([]string, len(oldIPs))
should beoldIPsStrings := make([]string, 0, len(oldIPs))
The text was updated successfully, but these errors were encountered: