-
Notifications
You must be signed in to change notification settings - Fork 348
add default scheme when mirrors no scheme #1450
Conversation
Hi @yylt. 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. 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. |
dccabdd
to
8b297dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
on green
/ok-to-test |
@yylt here's the regex Is this your real name and a real email? See the contributing guidelines below. We have a requirement to "Use your real name (sorry, no pseudonyms or anonymous contributions.)" Thank you for the contribution! |
pkg/server/image_pull.go
Outdated
@@ -385,6 +399,13 @@ func (c *criService) registryEndpoints(host string) ([]string, error) { | |||
if err != nil { | |||
return nil, errors.Wrap(err, "get default host") | |||
} | |||
for i, _ := range endpoints { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint complains about this one... suggests:
for i := range..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
05e7630
to
b41e0a2
Compare
all is real |
Signed-off-by: yang yang <yang8518296@163.com>
b41e0a2
to
d07f7f1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
add default scheme on endpoints in mirrors.
It is helpful in containerd/containerd#4108
Signed-off-by: yang yang yang8518296@163.com