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 windows matching when os version is empty #11

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented Jun 7, 2024

Add unit tests to match a case in configuration where the target to match does not specify an os version.

@dmcgowan dmcgowan changed the title Add tests for osversion matching with no version Fix windows matching when os version is empty Jun 7, 2024
@dmcgowan dmcgowan requested a review from kiashok June 7, 2024 23:01
@tianon
Copy link
Member

tianon commented Jun 8, 2024

I'm guessing you didn't commit the platforms.test binary intentionally? 👀

Copy link
Contributor

@kiashok kiashok left a comment

Choose a reason for hiding this comment

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

image

Should this platforms.test file be removed?

@dmcgowan dmcgowan force-pushed the windows-compare-empty-version branch from 3eb8d02 to 983ba15 Compare June 10, 2024 17:25
@dmcgowan
Copy link
Member Author

Removed the extra file

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@dmcgowan dmcgowan merged commit 2c95759 into containerd:main Jun 10, 2024
7 checks passed
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.

4 participants