mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Keep s3 commands simple
As s3 implementation between s3 providers can be different
This commit is contained in:
parent
eeb838faf2
commit
b203a25e1f
@ -145,8 +145,6 @@ function removeObjectByFullKey (fullKey: string, bucketInfo: BucketInfo) {
|
||||
}
|
||||
|
||||
async function removePrefix (prefix: string, bucketInfo: BucketInfo) {
|
||||
// FIXME: use bulk delete when s3ninja will support this operation
|
||||
|
||||
logger.debug('Removing prefix %s in bucket %s', prefix, bucketInfo.BUCKET_NAME, lTags())
|
||||
|
||||
return applyOnPrefix({
|
||||
|
Loading…
Reference in New Issue
Block a user