Skip to content

Commit

Permalink
Merge pull request #967 from squeed/fix-lint
Browse files Browse the repository at this point in the history
fix lint errors
  • Loading branch information
squeed authored Oct 31, 2023
2 parents a8d4e0a + 37531cd commit 2f0faf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ issues:
- linters:
- revive
text: " and that stutters;"
- path: '(.+)_test\.go'
text: "dot-imports: should not use dot imports"

linters:
disable:
Expand Down
2 changes: 1 addition & 1 deletion pkg/ns/ns_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ var _ = Describe("Linux namespace operations", func() {
testNsInode, err := getInodeNS(targetNetNS)
Expect(err).NotTo(HaveOccurred())

Expect(testNsInode).NotTo(Equal(0))
Expect(testNsInode).NotTo(Equal(uint64(0)))
Expect(testNsInode).NotTo(Equal(origNSInode))
})

Expand Down

0 comments on commit 2f0faf6

Please sign in to comment.