mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-14 20:56:42 +00:00
Merge pull request #815 from k8s-infra-cherrypick-robot/cherry-pick-804-to-release-0.11
[release-0.11] scripts/test-infra: bump golangci-lint to v1.45.2
This commit is contained in:
commit
9f6a97905f
2 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ func initKlogFlags(flagset *flag.FlagSet, args *worker.Args) {
|
|||
func klogConfigOptName(flagName string) string {
|
||||
split := strings.Split(flagName, "_")
|
||||
for i, v := range split[1:] {
|
||||
split[i+1] = strings.Title(v)
|
||||
split[i+1] = strings.ToUpper(v[0:1]) + v[1:]
|
||||
}
|
||||
return strings.Join(split, "")
|
||||
}
|
||||
|
|
|
@ -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.42.1
|
||||
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b "$gobinpath" v1.45.2
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue