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 some Go Report Card warnings #162

Merged
merged 4 commits into from
Apr 5, 2018
Merged

Fix some Go Report Card warnings #162

merged 4 commits into from
Apr 5, 2018

Conversation

dvrkps
Copy link
Contributor

@dvrkps dvrkps commented Apr 5, 2018

Many of golint warnings are in autogenerated files.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 4efe73f7-e677-41cc-a670-3c900942a729

The following development artifacts have been built, and will exist for the next 30 days:

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 948eba5a-57b4-4dd0-92e7-086f7b4529b2

The following development artifacts have been built, and will exist for the next 30 days:

n, err := conn.Read(b)
if err != nil {
log.Fatalf("Could not read packet: %v", err)
n, errRead := conn.Read(b)
Copy link
Contributor

Choose a reason for hiding this comment

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

Catching these kinds of things are why the linters are so helpful.

Copy link
Member

@markmandel markmandel Apr 5, 2018

Choose a reason for hiding this comment

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

@enocom Does that mean you'll integrate gometalinter into the cloudbuild.yaml system? 😄

It's already in the build image.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, that sounds like a great idea. I've been wanting to look at the build.

Copy link
Contributor

Choose a reason for hiding this comment

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

Added #163 to track the work.

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

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

LGTM!

@markmandel markmandel merged commit c25a323 into googleforgames:master Apr 5, 2018
@markmandel markmandel added this to the 0.2 milestone Apr 5, 2018
fooock pushed a commit to fooock/agones that referenced this pull request Apr 6, 2018
* fix misspell
* add err check and fix var shadowing
* fix crd package comment
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 1aa54e11-7947-4be2-b625-a9a83d8a55b4

The following development artifacts have been built, and will exist for the next 30 days:

@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants