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

Adjust golangci-lint linters #1058

Open
wants to merge 5 commits into
base: devel
Choose a base branch
from

Conversation

tpantelis
Copy link
Contributor

Added new linters (some commented out if not needed) and removed deprecated linters. Also addressed violations reported by new linters (in separate commits).

Related to submariner-io/enhancements#231

Added new linters (some commented out if not needed) and removed
deprecated linters.

Related to submariner-io/enhancements#231

Signed-off-by: Tom Pantelis <[email protected]>
- "wrong length assertion. Consider using
  `Expect(t.machineSets).To(BeEmpty(),
      "Unexpected machine sets deleted: %#v", t.machineSets)` instead"
- wrong length assertion. Consider using
     `Expect(machineSetList).To(HaveLen(1))` instead

Signed-off-by: Tom Pantelis <[email protected]>
"for loop can be changed to use an integer range"

Signed-off-by: Tom Pantelis <[email protected]>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr1058/tpantelis/adj_linters

"fmt.Sprintf can be replaced with string concatenation"

Signed-off-by: Tom Pantelis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

3 participants