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

Fix lint errors #294

Merged
merged 2 commits into from
Nov 15, 2023
Merged

Fix lint errors #294

merged 2 commits into from
Nov 15, 2023

Conversation

cfergeau
Copy link
Collaborator

@cfergeau cfergeau commented Nov 9, 2023

They currently break CI

@openshift-ci openshift-ci bot added the approved label Nov 9, 2023
While convenient, they can make the code harder to read.
https://github.com/golang/go/wiki/CodeReviewComments#import-dot

This should fix:
```
pkg/services/dns/dns_test.go:8:2: dot-imports: should not use dot imports (revive)
	. "github.com/onsi/ginkgo"
	^
pkg/services/dns/dns_test.go:9:2: dot-imports: should not use dot imports (revive)
	. "github.com/onsi/gomega"
	^
test/port_forwarding_test.go:18:2: dot-imports: should not use dot imports (revive)
	. "github.com/onsi/ginkgo"
	^
test/basic_test.go:10:2: dot-imports: should not use dot imports (revive)
	. "github.com/onsi/ginkgo"
	^
test/basic_test.go:11:2: dot-imports: should not use dot imports (revive)
	. "github.com/onsi/gomega"
	^
test/suite_test.go:16:2: dot-imports: should not use dot imports (revive)
	. "github.com/onsi/ginkgo"
	^
test/suite_test.go:16:2: dot-imports: should not use dot imports (revive)
	. "github.com/onsi/ginkgo"
	^
test/suite_test.go:17:2: dot-imports: should not use dot imports (revive)
	. "github.com/onsi/gomega"
	^
```

Signed-off-by: Christophe Fergeau <[email protected]>
Copy link
Contributor

openshift-ci bot commented Nov 15, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cfergeau, gbraad

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gbraad gbraad merged commit 71f1055 into containers:main Nov 15, 2023
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants