mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Fix tootctl upgrade storage-schema
S3 ACL (#13768)
This commit is contained in:
parent
199bbbcb9f
commit
ce87469d0a
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ module Mastodon
|
||||||
progress.log("Moving #{object.key} to #{new_object.key}") if options[:verbose]
|
progress.log("Moving #{object.key} to #{new_object.key}") if options[:verbose]
|
||||||
|
|
||||||
begin
|
begin
|
||||||
object.move_to(new_object) unless dry_run?
|
object.move_to(new_object, acl: attachment.s3_permissions(style)) unless dry_run?
|
||||||
rescue => e
|
rescue => e
|
||||||
progress.log(pastel.red("Error processing #{object.key}: #{e}"))
|
progress.log(pastel.red("Error processing #{object.key}: #{e}"))
|
||||||
success = false
|
success = false
|
||||||
|
|
Loading…
Reference in a new issue