fixed condition check

This commit is contained in:
Jan Provaznik 2018-06-13 10:44:14 +02:00
parent cdd7dfc448
commit 3961407248
1 changed files with 1 additions and 1 deletions

View File

@ -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