-
Notifications
You must be signed in to change notification settings - Fork 178
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
bump golang-ci-lint #4090
bump golang-ci-lint #4090
Conversation
18cf165
to
ed4e5f6
Compare
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.
LGTM, merge on green CI
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.
LGTM
ed4e5f6
to
728d436
Compare
We need to write a Go AST-based refactoring tool to actually change the call-sites for |
Signed-off-by: Steve Kuznetsov <[email protected]>
ginkgo-linter: wrong error assertion. Consider using `Eventually(func(ctx context.Context) error { return project.VerifyProjectIsReady(ctx) }).WithContext(ctx).WithTimeout(DefaultEventuallyTimeout).Should(Succeed())` instead (ginkgolinter) Signed-off-by: Steve Kuznetsov <[email protected]>
S1009: should omit nil check; len() for []string is defined as zero (gosimple) Signed-off-by: Steve Kuznetsov <[email protected]>
SA9009: ineffectual compiler directive due to extraneous space: "// go:generate mockgen -destination=../mocks/$GOPACKAGE/client.go github.com/Azure/msi-dataplane/pkg/dataplane Client" (staticcheck) Signed-off-by: Steve Kuznetsov <[email protected]>
printf: non-constant format string in call to (*github.com/sirupsen/logrus.Entry).Warnf (govet) Signed-off-by: Steve Kuznetsov <[email protected]>
Signed-off-by: Steve Kuznetsov <[email protected]>
Signed-off-by: Steve Kuznetsov <[email protected]>
Signed-off-by: Steve Kuznetsov <[email protected]>
This reverts commit 8aa74d1f5d1f006d840e025bf025ce728cced0c4. Signed-off-by: Steve Kuznetsov <[email protected]>
728d436
to
933b342
Compare
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.
LGTM, though I'll be waiting on green checks to fully confirm.
Signed-off-by: Steve Kuznetsov <[email protected]>
Makefile: bump golangci-lint
Signed-off-by: Steve Kuznetsov [email protected]
test/e2e: fixup bad Ginkgo assertions
ginkgo-linter: wrong error assertion. Consider using
Eventually(func(ctx context.Context) error { return project.VerifyProjectIsReady(ctx) }).WithContext(ctx).WithTimeout(DefaultEventuallyTimeout).Should(Succeed())
instead (ginkgolinter)Signed-off-by: Steve Kuznetsov [email protected]
pkg/api: remove unnecessary nil checks
S1009: should omit nil check; len() for []string is defined as zero (gosimple)
Signed-off-by: Steve Kuznetsov [email protected]
pkg/util: fix ineffectual compiler directive
SA9009: ineffectual compiler directive due to extraneous space:
"// go:generate mockgen -destination=../mocks/$GOPACKAGE/client.go
github.com/Azure/msi-dataplane/pkg/dataplane Client" (staticcheck)
Signed-off-by: Steve Kuznetsov [email protected]
*: fix non-constant format strings
printf: non-constant format string in call to (*github.com/sirupsen/logrus.Entry).Warnf (govet)
Signed-off-by: Steve Kuznetsov [email protected]
cmd/migrate: add a program to refactor NewCloudError
Signed-off-by: Steve Kuznetsov [email protected]
*: run the program to refactor NewCloudError
Signed-off-by: Steve Kuznetsov [email protected]
pkg/api: refactor NewCloudError to take a static message
Signed-off-by: Steve Kuznetsov [email protected]
Revert "cmd/migrate: add a program to refactor NewCloudError"
This reverts commit 8aa74d1f5d1f006d840e025bf025ce728cced0c4.
Signed-off-by: Steve Kuznetsov [email protected]