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: clean up AB linting errors #3885

Merged
merged 3 commits into from
Nov 30, 2023
Merged

fix: clean up AB linting errors #3885

merged 3 commits into from
Nov 30, 2023

Conversation

AlisonB319
Copy link
Collaborator

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

Release note:

none

@coveralls
Copy link

coveralls commented Nov 30, 2023

Pull Request Test Coverage Report for Build 7053472052

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 79.095%

Totals Coverage Status
Change from base Build 7053011145: 0.0%
Covered Lines: 2255
Relevant Lines: 2851

💛 - Coveralls

)

// CreateMockContainerService returns a mock container service for testing purposes.
func CreateMockContainerService(containerServiceName, orchestratorVersion string, masterCount, agentCount int, certs bool) *ContainerService {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we're sure we don't have any further usage of this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep there are no other calls to it in the repo

@@ -23,6 +23,7 @@ func NewAgentBaker() (AgentBaker, error) {

type agentBakerImpl struct{}

//nolint:revive // ctx is not used, but may be in the future
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

directive //nolint:revive // ctx is not used, but may be in the future is unused for linter "revive" (nolintlint)

is a bug with golangci golangci/golangci-lint#3228

@AlisonB319 AlisonB319 enabled auto-merge (squash) November 30, 2023 23:39
@AlisonB319 AlisonB319 merged commit 1f84772 into master Nov 30, 2023
18 checks passed
@AlisonB319 AlisonB319 deleted the alburgess/ab-lint-fixes branch November 30, 2023 23:51
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

Successfully merging this pull request may close these issues.

4 participants