Files
containerd/pkg
Derek McGowan 0886ceaea2 Fix reference ordering in CRI image store
Currently image references end up being stored in a
random order due to the way maps are iterated through
in Go. This leads to inconsistent identifiers being
resolved when a single reference is needed to identify
an image and the ordering of the references is used for
the selection.

Sort references in a consistent and ranked manner,
from higher information formats to lower.

Note: A `name + tag` reference is considered higher
information than a `name + digest` reference since a
registry may be used to resolve the digest from a
`name + tag` reference.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-03-22 22:29:57 -07:00
..
2020-04-22 19:35:37 -05:00
2021-03-12 08:47:05 -08:00
2020-02-26 23:29:04 +02:00
2020-04-22 19:35:37 -05:00
2019-07-14 20:49:40 -07:00