From a11fe173d5f581344a381bc95d9480b7516ab250 Mon Sep 17 00:00:00 2001 From: fate-grand-order Date: Tue, 18 Jul 2017 16:01:54 +0800 Subject: [PATCH] fix misspelling "algorithm" for cache/redis/redis.go Signed-off-by: Helen Chen --- registry/storage/cache/redis/redis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/storage/cache/redis/redis.go b/registry/storage/cache/redis/redis.go index 5a5819ac..98f0f759 100644 --- a/registry/storage/cache/redis/redis.go +++ b/registry/storage/cache/redis/redis.go @@ -224,7 +224,7 @@ func (rsrbds *repositoryScopedRedisBlobDescriptorService) SetDescriptor(ctx cont if dgst != desc.Digest { 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) } }