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

LatestVersion - use version Constraints passed in #159

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

bjhaid
Copy link
Contributor

@bjhaid bjhaid commented Oct 6, 2023

This uses the version constraint passed into the LatestVersion struct to ensure the constraints are checked against the returned versions.

This uses the version constraint passed into the `LatestVersion` struct
to ensure the constraints are checked against the returned versions.
@radeksimko radeksimko added the bug Something isn't working label Oct 9, 2023
@radeksimko radeksimko self-requested a review October 9, 2023 06:48
Copy link
Member

@radeksimko radeksimko left a comment

Choose a reason for hiding this comment

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

Great catch @bjhaid !

Thank you for the the fix.

I only made a minor change to aid readability in the attached test.

@radeksimko radeksimko changed the title latest_version - use version constraint passed in. LatestVersion - use version Constraints passed in Oct 10, 2023
@radeksimko radeksimko merged commit eab6333 into hashicorp:main Oct 10, 2023
11 checks passed
@bjhaid bjhaid deleted the use-constraint branch October 10, 2023 15:04
@bjhaid
Copy link
Contributor Author

bjhaid commented Oct 10, 2023

@radeksimko thanks! When should I expect the changes in this PR be released.

@radeksimko
Copy link
Member

This has just gone out in v0.6.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants