mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
commit
17866d025c
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ module Fog
|
|||
# http://docs.amazonwebservices.com/AmazonS3/latest/dev/S3_QSAuth.html
|
||||
|
||||
def get_object_url(bucket_name, object_name, expires)
|
||||
Formatador.display_line("[yellow][WARN] Fog::Storage::AWS => ##{get_object_url} is deprecated, use ##{get_object_https_url} instead[/] [light_black](#{caller.first})[/]")
|
||||
Formatador.display_line("[yellow][WARN] Fog::Storage::AWS => #get_object_url is deprecated, use #get_object_https_url instead[/] [light_black](#{caller.first})[/]")
|
||||
get_object_https_url(bucket_name, object_name, expires)
|
||||
end
|
||||
|
||||
|
@ -27,7 +27,7 @@ module Fog
|
|||
class Mock # :nodoc:all
|
||||
|
||||
def get_object_url(bucket_name, object_name, expires)
|
||||
Formatador.display_line("[yellow][WARN] Fog::Storage::AWS => ##{get_object_url} is deprecated, use ##{get_object_https_url} instead[/] [light_black](#{caller.first})[/]")
|
||||
Formatador.display_line("[yellow][WARN] Fog::Storage::AWS => #get_object_url is deprecated, use #get_object_https_url instead[/] [light_black](#{caller.first})[/]")
|
||||
get_object_https_url(bucket_name, object_name, expires)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue