mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fix a bug where cdn state was not preserved.
This commit is contained in:
parent
9c84908ded
commit
34dfb733f9
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ module Fog
|
|||
data.body.each do |file|
|
||||
directory.files << directory.files.new(file)
|
||||
end
|
||||
# set the cdn state for the directory
|
||||
directory.cdn_enabled?
|
||||
|
||||
directory
|
||||
rescue Fog::Storage::HP::NotFound
|
||||
nil
|
||||
|
|
Loading…
Reference in a new issue