-
Notifications
You must be signed in to change notification settings - Fork 384
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
man containers-registries.conf: clarify mirror association #1525
Conversation
@mtrmac PTAL |
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.
Thanks!
Just some non-blocking suggestions to consider. I’ll fully defer to native speakers in all respects.
location = "registry.com" | ||
|
||
[[registry.mirror]] | ||
location = "mirror.registry.com" | ||
``` | ||
Given the above, a pull of `example.com/foo/image:latest` will try: | ||
1. `example-mirror-0.local/mirror-for-foo/image:latest` |
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.
Not part of this change, but it looks like there's an extra leading space on this line.
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.
Hum… the md2man output is an indented list of lines of some sort (https://github.com/russross/blackfriday/blob/e96880f42b9343aea6cbfd99693adae0e5fe2b2a/block.go#L81-L92 it seems). The GitHub markdown does not treat it as a list at all, and just folds the line into the preceding paragraph.
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.
Let’s fix that: #1527 (after this PR).
@mtrmac @TomSweeneyRedHat PTAL |
Clarify that a `[[registry.mirror]]` is associated only with the previous `[[registry]]`. Fixes: containers#1523 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
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. Thanks!
LGTM |
Clarify that a
[[registry.mirror]]
is associated only with theprevious
[[registry]]
.Fixes: #1523
Signed-off-by: Valentin Rothberg vrothberg@redhat.com