mirror of https://github.com/containers/image.git
Transition to .upstream: Use distreference.Familiar* instead of our normalization
Call the newly provided distreference.FamilarName and distreference.FamiliarString instead of using our minimal canonical version. This removes the last “externally-visible” uses of .our. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
465998c6fa
commit
e8533be03a
|
|
@ -144,10 +144,10 @@ type canonicalRef struct {
|
|||
}
|
||||
|
||||
func (r *namedRef) XName() string {
|
||||
return r.our.Name()
|
||||
return distreference.FamiliarName(r.upstream)
|
||||
}
|
||||
func (r *namedRef) XString() string {
|
||||
return r.our.String()
|
||||
return distreference.FamiliarString(r.upstream)
|
||||
}
|
||||
func (r *namedRef) XFullName() string {
|
||||
return r.upstream.Name()
|
||||
|
|
|
|||
Loading…
Reference in New Issue