-
Notifications
You must be signed in to change notification settings - Fork 207
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
Conversation
Pull Request Test Coverage Report for Build 7053472052
💛 - Coveralls |
) | ||
|
||
// CreateMockContainerService returns a mock container service for testing purposes. | ||
func CreateMockContainerService(containerServiceName, orchestratorVersion string, masterCount, agentCount int, certs bool) *ContainerService { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
pkg/agent/bakerapi.go
Outdated
@@ -23,6 +23,7 @@ func NewAgentBaker() (AgentBaker, error) { | |||
|
|||
type agentBakerImpl struct{} | |||
|
|||
//nolint:revive // ctx is not used, but may be in the future |
There was a problem hiding this comment.
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
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: