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:
1
.github/workflows/workflow.yaml
vendored
1
.github/workflows/workflow.yaml
vendored
@@ -37,6 +37,7 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.58
|
||||
verify: false
|
||||
- name: Run CI
|
||||
run: |
|
||||
./scripts/ci
|
||||
|
@@ -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())
|
||||
|
Reference in New Issue
Block a user