Fix incorrect UA used for registry authentication#5533
Fix incorrect UA used for registry authentication#5533dmcgowan merged 1 commit intocontainerd:masterfrom
Conversation
|
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 Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
Build succeeded.
|
samuelkarp
left a comment
There was a problem hiding this comment.
Code LGTM, but we usually request that the Signed-off-by line have your name rather than your GitHub username. Can you update your commit to use your name there?
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>
Okay, updated. |
|
Build succeeded.
|
[release/1.5] cherry-pick #5533: Fix incorrect UA used for registry authentication
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.
Fixes #5532