Skip to content

Commit 2f0faf6

Browse files
authored
Merge pull request #967 from squeed/fix-lint
fix lint errors
2 parents a8d4e0a + 37531cd commit 2f0faf6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ issues:
66
- linters:
77
- revive
88
text: " and that stutters;"
9+
- path: '(.+)_test\.go'
10+
text: "dot-imports: should not use dot imports"
911

1012
linters:
1113
disable:

pkg/ns/ns_linux_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ var _ = Describe("Linux namespace operations", func() {
182182
testNsInode, err := getInodeNS(targetNetNS)
183183
Expect(err).NotTo(HaveOccurred())
184184

185-
Expect(testNsInode).NotTo(Equal(0))
185+
Expect(testNsInode).NotTo(Equal(uint64(0)))
186186
Expect(testNsInode).NotTo(Equal(origNSInode))
187187
})
188188

0 commit comments

Comments
 (0)