1
0
mirror of https://github.com/projectatomic/atomic.git synced 2026-02-07 06:44:52 +01:00
Files
atomic/tests/unit
Miloslav Trmač 20364af60a Fix “fqdn” computation in RegistryInspect
When the repo namespaces are unknown and the registry is docker.io, the
default value "library" should be used.

This matters when specifying library images in the shortest form, e.g.
"busybox:latest"; we would be fetching
docker://docker.io/busybox:latest instead of
docker://docker.io/library/busybox:latest.

skopeo would normalize that when fetching anyway, but this makes the output more
regular (which, in particular, matters for looking up
registries.d/*.yaml entries) and more consistent with the “fully
qualified domain(?) name” terminology.

Most importantly, the docker/distribution reference recorded inside the
signature should use the fully expanded form for maximum semantic
clarity.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>

Closes: #937
Approved by: baude
2017-04-13 22:40:09 +00:00
..
2017-01-16 14:27:00 +00:00
2017-02-06 22:41:40 +00:00