diff options
-rw-r--r-- | app/uploaders/object_storage.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/uploaders/object_storage.rb b/app/uploaders/object_storage.rb index f5b466a1aba..41fd5d2ee78 100644 --- a/app/uploaders/object_storage.rb +++ b/app/uploaders/object_storage.rb @@ -66,7 +66,7 @@ module ObjectStorage # For FileUploaders, model may have many uploaders. In that case # we want to use exclusive key per upload, not per model to allow # parallel migration - key_object = upload ? upload : model + key_object = upload || model "object_storage_migrate:#{key_object.class}:#{key_object.id}" end |