1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-12 21:24:00 +00:00

Merge pull request #3790 from pedromfcarvalho/v1.7-revert-lint-noverify

Revert commit and fix CI for v1.7.3 release
This commit is contained in:
Pedro Franco de Carvalho
2025-02-18 20:40:36 -03:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ jobs:
uses: golangci/golangci-lint-action@v6
with:
version: v1.58
verify: false
- name: Run CI
run: |
./scripts/ci

View File

@@ -506,8 +506,8 @@ func DeepEqualIPsAltNames(oldIPs, newIPs []net.IP) bool {
if len(oldIPs) != len(newIPs) {
return false
}
oldIPsStrings := make([]string, 0, len(oldIPs))
newIPsStrings := make([]string, 0, len(newIPs))
oldIPsStrings := make([]string, len(oldIPs))
newIPsStrings := make([]string, len(newIPs))
for i := range oldIPs {
oldIPsStrings = append(oldIPsStrings, oldIPs[i].String())
newIPsStrings = append(newIPsStrings, newIPs[i].String())