1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 02:37:11 +00:00

Merge pull request #1061 from marquiz/devel/golang-ci-lint

scripts/test-infra: bump golangci-lint to v1.51.1
This commit is contained in:
Kubernetes Prow Robot 2023-02-16 09:41:39 -08:00 committed by GitHub
commit c007c9eccf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -2,7 +2,7 @@
# Install deps
gobinpath="$(go env GOPATH)/bin"
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b "$gobinpath" v1.49.0
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b "$gobinpath" v1.51.1
export PATH=$PATH:$(go env GOPATH)/bin
curl -sfL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash -s -- --version v3.7.1

View file

@ -19,10 +19,8 @@ package e2e
import (
"flag"
"fmt"
"math/rand"
"os"
"testing"
"time"
"k8s.io/kubernetes/test/e2e"
"k8s.io/kubernetes/test/e2e/framework"
@ -63,7 +61,6 @@ func TestMain(m *testing.M) {
testfiles.AddFileSource(testfiles.RootFileSource{Root: framework.TestContext.RepoRoot})
}
rand.Seed(time.Now().UnixNano())
os.Exit(m.Run())
}