-
Notifications
You must be signed in to change notification settings - Fork 819
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
Conversation
Build Succeeded 👏 Build Id: 4efe73f7-e677-41cc-a670-3c900942a729 The following development artifacts have been built, and will exist for the next 30 days:
|
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) |
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.
Catching these kinds of things are why the linters are so helpful.
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.
@enocom Does that mean you'll integrate gometalinter
into the cloudbuild.yaml system? 😄
It's already in the build image.
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.
Yeah, that sounds like a great idea. I've been wanting to look at the build.
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.
Added #163 to track the work.
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!
* fix misspell * add err check and fix var shadowing * fix crd package comment
Build Succeeded 👏 Build Id: 1aa54e11-7947-4be2-b625-a9a83d8a55b4 The following development artifacts have been built, and will exist for the next 30 days:
|
Many of golint warnings are in autogenerated files.