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

Remove ioutil in favour of io and os packages and exclude crypto/dsa … #153

Merged

Conversation

rossmaclean
Copy link
Contributor

@rossmaclean rossmaclean commented Jan 27, 2023

Remove the ioutil package as suggested by the linter in favour of the io and os packages. Also fixes other linting warnings.

…from linting as the warning is not relevant.
@rossmaclean rossmaclean requested a review from a team as a code owner January 27, 2023 11:55
@rossmaclean
Copy link
Contributor Author

@lbajolet-hashicorp Poking you now this is not WIP :P

Copy link
Contributor

@lbajolet-hashicorp lbajolet-hashicorp left a comment

Choose a reason for hiding this comment

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

Hi @rossmaclean,

Thanks for the lint pass on the codebase here, much appreciated!

I just left a comment on the DSA issue being deprecated, it wasn't clear at first why the nolint:all directives were added to the package imports, so I suggested leaving a warning in the documentation to make it clear why it is marked as such.

Other than that, it all looks good to me, thanks again for the PR!

communicator/ssh/key_pair.go Outdated Show resolved Hide resolved
Copy link
Contributor

@nywilken nywilken left a comment

Choose a reason for hiding this comment

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

Good call on the DSA docs @lbajolet-hashicorp. LGTM

@nywilken nywilken added the tech-debt Issues and pull requests related to addressing technical debt or improving the codebase label Feb 1, 2023
@rossmaclean
Copy link
Contributor Author

Thanks both for the review.

@lbajolet-hashicorp lbajolet-hashicorp merged commit aa0cffe into hashicorp:main Feb 3, 2023
@rossmaclean rossmaclean deleted the fix-some-linting-warnings branch February 3, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-debt Issues and pull requests related to addressing technical debt or improving the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants