Commit 39614072 authored by Jan Provaznik's avatar Jan Provaznik

fixed condition check

parent cdd7dfc4
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment