mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Minor fix to allow options on save to pass in metadata.
This commit is contained in:
parent
0a9fc31f5e
commit
dda22ad8c5
1 changed files with 1 additions and 2 deletions
|
@ -189,9 +189,8 @@ module Fog
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def save
|
def save(options = {})
|
||||||
requires :key
|
requires :key
|
||||||
options = {}
|
|
||||||
# write out the acls into the headers before save
|
# write out the acls into the headers before save
|
||||||
options.merge!(connection.perm_acl_to_header(@read_acl, @write_acl))
|
options.merge!(connection.perm_acl_to_header(@read_acl, @write_acl))
|
||||||
connection.put_container(key, options)
|
connection.put_container(key, options)
|
||||||
|
|
Loading…
Add table
Reference in a new issue