mirror of
https://github.com/distribution/distribution.git
synced 2025-09-24 12:37:00 +00:00
Fix recursion with digest String
Update check for equal references to call the String method Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
@@ -399,7 +399,7 @@ func (r repository) Path() string {
|
||||
type digestReference digest.Digest
|
||||
|
||||
func (d digestReference) String() string {
|
||||
return d.String()
|
||||
return digest.Digest(d).String()
|
||||
}
|
||||
|
||||
func (d digestReference) Digest() digest.Digest {
|
||||
|
Reference in New Issue
Block a user