Skip to content

Commit

Permalink
Merge pull request #2549 from miminar/redis-delete-key
Browse files Browse the repository at this point in the history
redis: delete right size attribute
  • Loading branch information
stevvooe authored Mar 13, 2018
2 parents 6fca8d6 + 492844e commit 34c706e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/storage/cache/redis/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (rbds *redisBlobDescriptorService) Clear(ctx context.Context, dgst digest.D
defer conn.Close()

// Not atomic in redis <= 2.3
reply, err := conn.Do("HDEL", rbds.blobDescriptorHashKey(dgst), "digest", "length", "mediatype")
reply, err := conn.Do("HDEL", rbds.blobDescriptorHashKey(dgst), "digest", "size", "mediatype")
if err != nil {
return err
}
Expand Down

0 comments on commit 34c706e

Please sign in to comment.