Merge branch 'master' into 8654-arv-jobs-cwl-runner
[arvados.git] / services / keepstore / azure_blob_volume.go
index d096dc69c3a9ee6be3ab9a960bc63e69ab202641..f08cebff63c65dc5cbbd941407602c262779708a 100644 (file)
@@ -257,7 +257,7 @@ func (v *AzureBlobVolume) Put(loc string, block []byte) error {
        if v.readonly {
                return MethodDisabledError
        }
-       return v.bsClient.CreateBlockBlobFromReader(v.containerName, loc, uint64(len(block)), bytes.NewReader(block))
+       return v.bsClient.CreateBlockBlobFromReader(v.containerName, loc, uint64(len(block)), bytes.NewReader(block), nil)
 }
 
 // Touch updates the last-modified property of a block blob.
@@ -399,6 +399,5 @@ func (v *AzureBlobVolume) isKeepBlock(s string) bool {
 // EmptyTrash looks for trashed blocks that exceeded trashLifetime
 // and deletes them from the volume.
 // TBD
-func (v *AzureBlobVolume) EmptyTrash() error {
-       return nil
+func (v *AzureBlobVolume) EmptyTrash() {
 }