Browse Source

Fix `tootctl upgrade storage-schema` S3 ACL (#13768)

master
Stanislas 3 years ago
committed by GitHub
parent
commit
ce87469d0a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/mastodon/upgrade_cli.rb

+ 1
- 1
lib/mastodon/upgrade_cli.rb View File

@ -97,7 +97,7 @@ module Mastodon
progress.log("Moving #{object.key} to #{new_object.key}") if options[:verbose]
begin
object.move_to(new_object) unless dry_run?
object.move_to(new_object, acl: attachment.s3_permissions(style)) unless dry_run?
rescue => e
progress.log(pastel.red("Error processing #{object.key}: #{e}"))
success = false

Loading…
Cancel
Save