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

Re-enable govet and gas, and fix resulting errors #8277

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zjs
Copy link
Member

@zjs zjs commented Sep 13, 2018

Re-enable govet and gas. Ignore all files generated by goswagger.

These lines were removed for unknown reasons in 7f6f212.

Additionally, update the gas invocation to ignore code generated by
goswagger, as it appears to produce warnings.

Fix the cause of warnings where feasible to do so. Ignore where not.


Note: The vendored version of gas seems to have issues analyzing a variety of files in the repository. As a result, many issues are still not caught in CI. We should explore upgrading to gosec.

@zjs zjs self-assigned this Sep 13, 2018
@zjs zjs requested a review from a team as a code owner September 13, 2018 23:12
These lines were removed for unknown reasons in 7f6f212.

Additionally, update the gas invocation to ignore code generated by
goswagger, as it appears to produce warnings.
Fix the cause of warnings where feasible to do so. Ignore where not.
@zjs zjs changed the title [WIP] Re-enable govet and gas, and fix resulting errors Re-enable govet and gas, and fix resulting errors Sep 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants