Skip to content

fix: revive var-naming #2415

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 1 commit into from
May 7, 2025
Merged

fix: revive var-naming #2415

merged 1 commit into from
May 7, 2025

Conversation

tenthirtyam
Copy link
Contributor

Description

Rename variables based on idiomatic principles, per revive and golangci-lint.

~/Downloads/terraform-provider-vsphere git:[fix/revive-var-naming]
golangci-lint run
0 issues.

@tenthirtyam tenthirtyam added technical-debt Technical Debt refactor Refactor labels Apr 25, 2025
@tenthirtyam tenthirtyam requested a review from spacegospod April 25, 2025 22:08
@tenthirtyam tenthirtyam self-assigned this Apr 25, 2025
@tenthirtyam tenthirtyam requested a review from a team as a code owner April 25, 2025 22:08
@tenthirtyam tenthirtyam added this to the v2.13.0 milestone Apr 26, 2025
@tenthirtyam tenthirtyam added the needs-review Needs Review label Apr 26, 2025
@tenthirtyam tenthirtyam force-pushed the fix/revive-var-naming branch from 02e53e6 to a3969e0 Compare April 29, 2025 12:08
@tenthirtyam tenthirtyam requested a review from spacegospod April 29, 2025 12:09
@tenthirtyam tenthirtyam removed the needs-review Needs Review label Apr 29, 2025
iBrandyJackson
iBrandyJackson previously approved these changes Apr 29, 2025
@tenthirtyam
Copy link
Contributor Author

Will await a re-review from @spacegospod before merging since this was a big update to correct variable names to the idiomatic format and helping to avoid variable vs argument/attribute references.

@tenthirtyam tenthirtyam marked this pull request as draft April 29, 2025 23:25
@tenthirtyam
Copy link
Contributor Author

This one will need a rebase to proceed. Will address this tomorrow.

@tenthirtyam tenthirtyam force-pushed the fix/revive-var-naming branch 4 times, most recently from fdbf67e to 25499dc Compare April 30, 2025 15:54
@tenthirtyam tenthirtyam marked this pull request as ready for review April 30, 2025 15:55
@tenthirtyam tenthirtyam force-pushed the fix/revive-var-naming branch from 25499dc to eba698b Compare May 1, 2025 20:14
@tenthirtyam tenthirtyam requested a review from iBrandyJackson May 1, 2025 20:18
@tenthirtyam
Copy link
Contributor Author

@spacegospod @iBrandyJackson - this one is ready after addressing the prior comments.

@tenthirtyam tenthirtyam removed the request for review from iBrandyJackson May 5, 2025 19:16
@tenthirtyam tenthirtyam force-pushed the main branch 2 times, most recently from 2d0d0cd to 3ebb159 Compare May 6, 2025 00:35
@tenthirtyam tenthirtyam added the needs-review Needs Review label May 6, 2025
@tenthirtyam tenthirtyam force-pushed the fix/revive-var-naming branch from eba698b to ed63aac Compare May 6, 2025 01:36
@github-actions github-actions bot added the provider Provider label May 6, 2025
Rename variables based on idiomatic principles, per `revive` and `golangci-lint`.

Signed-off-by: Ryan Johnson <[email protected]>
@tenthirtyam tenthirtyam force-pushed the fix/revive-var-naming branch from 1ab0ccc to b43c249 Compare May 6, 2025 21:39
@tenthirtyam tenthirtyam requested a review from dougm May 7, 2025 17:12
@tenthirtyam tenthirtyam merged commit 4ad28ae into main May 7, 2025
9 checks passed
@tenthirtyam tenthirtyam deleted the fix/revive-var-naming branch May 7, 2025 21:14
Copy link

This functionality has been released in v2.13.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@tenthirtyam tenthirtyam removed the needs-review Needs Review label May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
provider Provider refactor Refactor technical-debt Technical Debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants