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 goreport findings #426

Merged
merged 3 commits into from
Oct 5, 2020
Merged

Fix goreport findings #426

merged 3 commits into from
Oct 5, 2020

Conversation

HeavyWombat
Copy link
Contributor

@HeavyWombat HeavyWombat commented Oct 5, 2020

Curious by the rating in goreport, I checked the reported issues and decided to quickly run the commands manually. This includes a gmfmt, misspell and golint. I decided to ignore the gocyclo findings for now, as this may require a bit more understanding of the respective function.

I igored the linting issue for BuildFinalizer as this one is very likely to be removed by PR #409 anyway.

Fix goreport findings by running `gofmt -s -w` on all source files.
Use all suggestions by `misspell` based on the goreport input.
Fix straightforward golint findings where only a comment is needed or a
comment needs to be updated.
Copy link
Member

@SaschaSchwarze0 SaschaSchwarze0 left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 5, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SaschaSchwarze0

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 5, 2020
@openshift-merge-robot openshift-merge-robot merged commit dfeef3b into shipwright-io:master Oct 5, 2020
@HeavyWombat HeavyWombat deleted the fix/goreport-findings branch October 5, 2020 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants