fix misspelling "algorithm" for cache/redis/redis.go

Signed-off-by: Helen Chen <chenjg@harmonycloud.cn>
This commit is contained in:
fate-grand-order 2017-07-18 16:01:54 +08:00
parent f86db6b226
commit a11fe173d5

View file

@ -224,7 +224,7 @@ func (rsrbds *repositoryScopedRedisBlobDescriptorService) SetDescriptor(ctx cont
if dgst != desc.Digest { if dgst != desc.Digest {
if dgst.Algorithm() == desc.Digest.Algorithm() { if dgst.Algorithm() == desc.Digest.Algorithm() {
return fmt.Errorf("redis cache: digest for descriptors differ but algorthim does not: %q != %q", dgst, desc.Digest) return fmt.Errorf("redis cache: digest for descriptors differ but algorithm does not: %q != %q", dgst, desc.Digest)
} }
} }