Make storage deletion work on more S3 providers, don't use access URL for deletion (#1600)

I came across [this
problem](https://forum.webrecorder.net/t/deleting-crawl-failure/512) and
noticed that the access URL is used when deleting files, causing my file
deletions to fail on OpenStack SWIFT S3 (relates to #1090). This trivial
change makes it work there.
This commit is contained in:
wvengen 2024-03-16 08:17:23 +00:00 committed by GitHub
parent eb7036bf87
commit 6278157f40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -501,7 +501,7 @@ class StorageOps:
s3storage = self.get_org_storage_by_ref(org, storage)
async with self.get_s3_client(s3storage, s3storage.use_access_for_presign) as (
async with self.get_s3_client(s3storage) as (
client,
bucket,
key,