digest: use digest.Parse over ParseDigest
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
d5cc235c48
commit
01dfa0fcb9
7 changed files with 10 additions and 10 deletions
|
@ -170,7 +170,7 @@ func Parse(s string) (Reference, error) {
|
|||
}
|
||||
if matches[3] != "" {
|
||||
var err error
|
||||
ref.digest, err = digest.ParseDigest(matches[3])
|
||||
ref.digest, err = digest.Parse(matches[3])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue