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

chore: update version.go #435

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

tenthirtyam
Copy link
Contributor

Summary

  • Replaces the deprecated InitializePluginVersion with NewPluginVersion from packer-plugin-sdk, which is the recommended approach in version/version.go.
  • Removed superfluous comments that are already included in the SDK.

@tenthirtyam tenthirtyam requested a review from a team as a code owner August 9, 2024 01:21
@tenthirtyam
Copy link
Contributor Author

@JenGoldstrich for review.

cc @lbajolet-hashicorp

Copy link
Contributor

@JenGoldstrich JenGoldstrich left a comment

Choose a reason for hiding this comment

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

Thanks for this contribution, it LGTM!

Copy link
Contributor

@JenGoldstrich JenGoldstrich left a comment

Choose a reason for hiding this comment

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

I approved this too soon my bad, the new function's name is NewPluginVersion not NewVersion

version/version.go Outdated Show resolved Hide resolved
- Replaces the deprecated `InitializePluginVersion` with `NewPluginVersion` from `packer-plugin-sdk`, which is the recommended approach in `version/version.go`.
- Removed superfluous comments that are already included in the SDK.
@JenGoldstrich JenGoldstrich merged commit 4e709dc into hashicorp:main Aug 23, 2024
12 checks passed
@tenthirtyam tenthirtyam deleted the chore/update-version branch August 23, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants