Storage: add :azure to remaining callers (#26080)
This commit is contained in:
parent
6c3c5bbbc3
commit
12a6cf569e
6 changed files with 16 additions and 3 deletions
|
@ -76,6 +76,9 @@ class AttachmentBatch
|
|||
when :fog
|
||||
logger.debug { "Deleting #{attachment.path(style)}" }
|
||||
attachment.directory.files.new(key: attachment.path(style)).destroy
|
||||
when :azure
|
||||
logger.debug { "Deleting #{attachment.path(style)}" }
|
||||
attachment.destroy
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue