Skip to content

Commit 1f816ff

Browse files
author
Mengqi Yu
committed
🏃 bump linter version
1 parent bea83a3 commit 1f816ff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ go_import_path: sigs.k8s.io/controller-tools
1414

1515
install:
1616
- go get -u github.com/golang/dep/cmd/dep
17-
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.15.0
17+
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.17.1
1818

1919
script:
2020
- GO111MODULE=on TRACE=1 ./test.sh

cmd/controller-gen/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ func runGenerators(rawOptions []string, printMarkersOnly bool) error {
343343
rt.OutputRules = outputRules
344344

345345
if hadErrs := rt.Run(); hadErrs {
346-
return fmt.Errorf("not all generators ran succesfully")
346+
return fmt.Errorf("not all generators ran successfully")
347347
}
348348

349349
return nil

pkg/genall/output.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (o OutputArtifacts) Open(pkg *loader.Package, itemPath string) (io.WriteClo
132132
}
133133

134134
if len(pkg.CompiledGoFiles) == 0 {
135-
return nil, fmt.Errorf("cannot ouput to a package with no path on disk")
135+
return nil, fmt.Errorf("cannot output to a package with no path on disk")
136136
}
137137
outDir := filepath.Dir(pkg.CompiledGoFiles[0])
138138
outPath := filepath.Join(outDir, itemPath)

0 commit comments

Comments
 (0)