Skip to content

fix: correct intersection logic in shims.FindExecutable function so ordering of multiple versions is preserved #2063

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
Apr 14, 2025

Conversation

Stratus3D
Copy link
Member

  • add more tests for toolversions.Intersect function
  • add failing test for shims.FindExecutable function
  • correct intersection logic in shims.FindExecutable function

Fixes #2038

@Stratus3D Stratus3D marked this pull request as ready for review April 14, 2025 18:43
@Stratus3D Stratus3D requested a review from a team as a code owner April 14, 2025 18:43
… ordering of multiple versions is preserved

* add more tests for `toolversions.Intersect` function
* add failing test for `shims.FindExecutable` function
* correct intersection logic in `shims.FindExecutable` function

Fixes #2038
@Stratus3D Stratus3D force-pushed the tb/multiple-version-order-fix branch from c894399 to b30494c Compare April 14, 2025 18:45
@Stratus3D Stratus3D merged commit 083f20a into master Apr 14, 2025
8 checks passed
@Stratus3D Stratus3D deleted the tb/multiple-version-order-fix branch April 14, 2025 18:49
This was referenced May 5, 2025
Stratus3D added a commit that referenced this pull request May 16, 2025
… ordering of multiple versions is preserved (#2063)
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.

bug: after 0.16.2 upgrade multiple terraform versions but using the oldest
1 participant