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

pkg/dialer: minor fix on dialer function for windows #9412

Merged
merged 1 commit into from Nov 23, 2023

Conversation

profnandaa
Copy link
Contributor

@profnandaa profnandaa commented Nov 22, 2023

This commit fixes the dialer function to make sure that "npipe://" prefix is trimmed, just like the way it is done in the Unix counterpart, ./dialer_unix.go:50

This will also unblock some downstream work going on in buildkit; setting up integration tests to run on Windows - moby/buildkit#4432

/cc. @gabriel-samfira

@k8s-ci-robot
Copy link

Hi @profnandaa. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

pkg/dialer/dialer_windows.go Outdated Show resolved Hide resolved
This commit fixes the dialer function to make sure that
"npipe://" prefix is trimmed, just like the way it is done
in the Unix counterpart, `./dialer_unix.go:50`

This will also unblock some downstream work going on in
buildkit; setting up integration tests to run on Windows.

Signed-off-by: Anthony Nandaa <profnandaa@gmail.com>
Copy link

@CharityKathure CharityKathure left a comment

Choose a reason for hiding this comment

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

LGTM

@profnandaa profnandaa changed the title fix(pkg/dialer): minor fix on dialer function for windows pkg/dialer: minor fix on dialer function for windows Nov 22, 2023
@samuelkarp samuelkarp added this pull request to the merge queue Nov 23, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 23, 2023
@samuelkarp samuelkarp added this pull request to the merge queue Nov 23, 2023
Merged via the queue into containerd:main with commit 787943d Nov 23, 2023
38 checks passed
@profnandaa profnandaa deleted the fix/dialer_function_windows branch November 23, 2023 01:37
@profnandaa
Copy link
Contributor Author

thanks for the prompt approvals!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants