mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Change the metadata method to support amazon tags such as x-amz-website-redirect-location
This commit is contained in:
parent
e67eba360c
commit
5819cde785
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ module Fog
|
|||
|
||||
remove_method :metadata
|
||||
def metadata
|
||||
attributes.reject {|key, value| !(key.to_s =~ /^x-amz-meta-/)}
|
||||
attributes.reject {|key, value| !(key.to_s =~ /^x-amz-/)}
|
||||
end
|
||||
|
||||
remove_method :metadata=
|
||||
|
|
Loading…
Add table
Reference in a new issue