Skip to content

[release/1.5] cherry-pick #5533: Fix incorrect UA used for registry authentication#5598

Merged
estesp merged 1 commit intocontainerd:release/1.5from
Einsfier:release/1.5
Jun 11, 2021
Merged

[release/1.5] cherry-pick #5533: Fix incorrect UA used for registry authentication#5598
estesp merged 1 commit intocontainerd:release/1.5from
Einsfier:release/1.5

Conversation

@Einsfier
Copy link
Copy Markdown
Contributor

Previously, containerd uses Go's default UA "Go-http-client/1.1" while authenticating with registry.
This commit changes it to the pattern like "containerd/v1.5.2" which is used for all other requests.

Signed-off-by: Ethan Chen pov@mahou-shoujo.moe
(cherry picked from commit 50ad4b9)

Cherry-pick of #5533

I saw there is a cherry-pick label but no PR is created, so I help create this for cherry-picking.

Previously, containerd uses Go's default UA "Go-http-client/1.1" while authenticating with registry.
This commit changes it to the pattern like "containerd/v1.5.2" which is used for all other requests.

Signed-off-by: Ethan Chen <pov@mahou-shoujo.moe>
(cherry picked from commit 50ad4b9)
@k8s-ci-robot
Copy link
Copy Markdown

Hi @povsister. 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.

Details

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.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Jun 11, 2021

Build succeeded.

@AkihiroSuda
Copy link
Copy Markdown
Member

/ok-to-test

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@estesp estesp merged commit 116b2e0 into containerd:release/1.5 Jun 11, 2021
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.

4 participants