Skip to content

Commit

Permalink
Merge pull request #3894 from PG2000/patch-1
Browse files Browse the repository at this point in the history
✨ chore: add ginkgolinter
  • Loading branch information
k8s-ci-robot authored May 24, 2024
2 parents 19bf0c7 + ec805f8 commit 6c08ed1
Show file tree
Hide file tree
Showing 14 changed files with 101 additions and 92 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ linters:
- dupl
- errcheck
- exportloopref
- ginkgolinter
- goconst
- gocyclo
- gofmt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ linters:
- dupl
- errcheck
- exportloopref
- ginkgolinter
- goconst
- gocyclo
- gofmt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ linters:
- dupl
- errcheck
- exportloopref
- ginkgolinter
- goconst
- gocyclo
- gofmt
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ plugins:
c.projectVersion = projectVersion

Expect(c.resolvePlugins()).To(Succeed())
Expect(len(c.resolvedPlugins)).To(Equal(1))
Expect(c.resolvedPlugins).To(HaveLen(1))
Expect(plugin.KeyFor(c.resolvedPlugins[0])).To(Equal(qualified))
},
Entry("fully qualified plugin", "foo.example.com/v1", "foo.example.com/v1"),
Expand Down
Loading

0 comments on commit 6c08ed1

Please sign in to comment.