Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some error for lint #1148

Open
gpahlevanzadeh opened this issue Dec 11, 2024 · 1 comment
Open

some error for lint #1148

gpahlevanzadeh opened this issue Dec 11, 2024 · 1 comment

Comments

@gpahlevanzadeh
Copy link

gpahlevanzadeh commented Dec 11, 2024

When I compiling cni, I use make command in cni directory, I get the following error:

pkg/version/reconcile_test.go:37:3: ginkgo-linter: asserting a non-error type with HaveOccurred matcher (ginkgolinter)
		Expect(err).NotTo(HaveOccurred())
		^

pkg/skel/skel_test.go:109:4: ginkgo-linter: asserting a non-error type with HaveOccurred matcher (ginkgolinter)
			Expect(err).NotTo(HaveOccurred())
			^

pkg/skel/skel_test.go:126:4: ginkgo-linter: asserting a non-error type with HaveOccurred matcher (ginkgolinter)
			Expect(err).NotTo(HaveOccurred())
			^

pkg/version/version.go:43:27: param min has same name as predeclared identifier (predeclared)

How to do I compile cni without error?

@nunnatsa
Copy link

Hi @gpahlevanzadeh this is actually a bug in ginkgolinter. Thanks for finding it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants