fix lint errors
Fix a small ginkgo compare issue, and ignore dot imports. Signed-off-by: Casey Callendrello <c1@caseyc.net>
This commit is contained in:
parent
a8d4e0a7dd
commit
37531cdaf5
@ -6,6 +6,8 @@ issues:
|
|||||||
- linters:
|
- linters:
|
||||||
- revive
|
- revive
|
||||||
text: " and that stutters;"
|
text: " and that stutters;"
|
||||||
|
- path: '(.+)_test\.go'
|
||||||
|
text: "dot-imports: should not use dot imports"
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
disable:
|
disable:
|
||||||
|
@ -182,7 +182,7 @@ var _ = Describe("Linux namespace operations", func() {
|
|||||||
testNsInode, err := getInodeNS(targetNetNS)
|
testNsInode, err := getInodeNS(targetNetNS)
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
|
|
||||||
Expect(testNsInode).NotTo(Equal(0))
|
Expect(testNsInode).NotTo(Equal(uint64(0)))
|
||||||
Expect(testNsInode).NotTo(Equal(origNSInode))
|
Expect(testNsInode).NotTo(Equal(origNSInode))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user