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

Run gofmt -s against codebase #12943

Merged
merged 1 commit into from Oct 28, 2019
Merged

Run gofmt -s against codebase #12943

merged 1 commit into from Oct 28, 2019

Conversation

hanzei
Copy link
Contributor

@hanzei hanzei commented Oct 26, 2019

Summary

This PR fix issues found by gofmt -s in the codebase. Fixing this issue is part of the afford to fix all problems found by golangci-lint.

Ticket Link

Follow up on #12909

@hanzei hanzei added 2: Dev Review Requires review by a developer 3: QA Review Requires review by a QA tester. May occur at the same time as Dev Review labels Oct 26, 2019
@@ -5,6 +5,8 @@ run:
linters-settings:
govet:
check-shadowing: true
gofmt:
simplify: true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please note that this don't change the behaviour as this is already the default value. This just states this again.

Copy link
Contributor

@lindy65 lindy65 left a comment

Choose a reason for hiding this comment

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

Looks well covered by unit tests :) Thanks @hanzei!

@lindy65 lindy65 added QA/Review Done QA review is completed but other reviews are outstanding (exception to usual process) Tests/Not Needed New release tests not required and removed 3: QA Review Requires review by a QA tester. May occur at the same time as Dev Review labels Oct 27, 2019
@levb levb added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a developer labels Oct 28, 2019
@levb levb merged commit e61340c into master Oct 28, 2019
@levb levb deleted the gofmt branch October 28, 2019 13:08
@hanzei hanzei added this to the v5.18.0 milestone Oct 28, 2019
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation QA/Review Done QA review is completed but other reviews are outstanding (exception to usual process) Tests/Not Needed New release tests not required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants