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

Fix box collection sorting #13320

Merged
merged 2 commits into from
Jan 4, 2024
Merged

Fix box collection sorting #13320

merged 2 commits into from
Jan 4, 2024

Conversation

chrisroberts
Copy link
Member

When the box collection includes a common box entry which contains
architecture information, and another entry that does not it will
result in an error when sorting due to comparison with a nil value.
Force a common type when sorting to prevent this error.

Fixes #13314

When the box collection consists of a mix of entries with architecture
information and without architecture information, ensure the values are
a common type so sorting does not result in an error.
@chrisroberts chrisroberts merged commit dff90bb into main Jan 4, 2024
11 checks passed
@chrisroberts chrisroberts deleted the box-collection-sort-nils branch January 4, 2024 02:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ArgumentError for every vagrant box command
1 participant