Skip to content

Commit

Permalink
digest: remove stuttering ParseDigest function
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen J Day <stephen.day@docker.com>
  • Loading branch information
stevvooe authored and dmcgowan committed May 10, 2020
1 parent 1cbb645 commit e0bfa0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digestset/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (dst *Set) Lookup(d string) (Digest, error) {
alg Algorithm
hex string
)
dgst, err := ParseDigest(d)
dgst, err := Parse(d)
if err == ErrDigestInvalidFormat {
hex = d
searchFunc = func(i int) bool {
Expand Down

0 comments on commit e0bfa0f

Please sign in to comment.