redis: delete right size attribute

Signed-off-by: Michal Minář <miminar@redhat.com>
This commit is contained in:
Michal Minář 2018-03-13 15:23:47 +01:00
parent 6fca8d6e67
commit 492844e09c

View file

@ -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
}