Skip to content

chore(lint): make consistent make() calls #2154

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

Merged
merged 2 commits into from
Jul 6, 2023

Conversation

thevilledev
Copy link
Contributor

@thevilledev thevilledev commented Jun 22, 2023

Description

Currently the project does not use make() consistently. Some calls have both length and capacity equally defined, some just length. By default capacity equals to length (see godoc here) which makes this more of a code quality improvement than a fix.

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

No new tests added. Acceptance tests do not succeed on main as seen on this previous run but they fail exactly the same on this branch :)

Release Note

Release note for CHANGELOG:

NONE

References

None

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

@thevilledev thevilledev requested a review from a team as a code owner June 22, 2023 18:56
Copy link
Contributor

@arybolovlev arybolovlev left a comment

Choose a reason for hiding this comment

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

Thank you again for your great contribution @thevilledev! 🚀

@arybolovlev arybolovlev merged commit 70f28fa into hashicorp:main Jul 6, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants