1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-13 05:34:11 +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 uses: golangci/golangci-lint-action@v6
with: with:
version: v1.58 version: v1.58
verify: false
- name: Run CI - name: Run CI
run: | run: |
./scripts/ci ./scripts/ci

View File

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