Add content test suite run to client

Fix bugs in content deletion and upload status

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan
2017-08-09 13:30:21 -07:00
parent edc51c86f2
commit c4387a159e
6 changed files with 73 additions and 22 deletions

View File

@@ -170,7 +170,7 @@ func (cs *contentStore) Delete(ctx context.Context, dgst digest.Digest) error {
// Just remove local reference, garbage collector is responsible for
// cleaning up on disk content
return getBlobsBucket(tx, ns).Delete([]byte(dgst.String()))
return getBlobsBucket(tx, ns).DeleteBucket([]byte(dgst.String()))
})
}