diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-16 10:06:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-16 10:06:07 +0200 |
commit | 49b80bd9e1d285dd555f95eb8deecc978ecfb227 (patch) | |
tree | aa8af00b7d0034286dd9b9b930ce4cd50a7bd68c /server/lib/object-storage/shared | |
parent | 0d6a8289fb5ce7466f74a0514b3a6e620bfa2e59 (diff) | |
download | PeerTube-49b80bd9e1d285dd555f95eb8deecc978ecfb227.tar.gz PeerTube-49b80bd9e1d285dd555f95eb8deecc978ecfb227.tar.zst PeerTube-49b80bd9e1d285dd555f95eb8deecc978ecfb227.zip |
Use atomic rename
Diffstat (limited to 'server/lib/object-storage/shared')
-rw-r--r-- | server/lib/object-storage/shared/object-storage-helpers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/object-storage/shared/object-storage-helpers.ts b/server/lib/object-storage/shared/object-storage-helpers.ts index f517c5f69..861c490d7 100644 --- a/server/lib/object-storage/shared/object-storage-helpers.ts +++ b/server/lib/object-storage/shared/object-storage-helpers.ts | |||
@@ -278,7 +278,7 @@ async function uploadToStorage (options: { | |||
278 | 278 | ||
279 | logger.debug( | 279 | logger.debug( |
280 | 'Completed %s%s in bucket %s', | 280 | 'Completed %s%s in bucket %s', |
281 | bucketInfo.PREFIX, objectStorageKey, bucketInfo.BUCKET_NAME, lTags() | 281 | bucketInfo.PREFIX, objectStorageKey, bucketInfo.BUCKET_NAME, { ...lTags(), reseponseMetadata: response.$metadata } |
282 | ) | 282 | ) |
283 | 283 | ||
284 | return getInternalUrl(bucketInfo, objectStorageKey) | 284 | return getInternalUrl(bucketInfo, objectStorageKey) |