mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Remove CDN integration from within Storage service, till CDN service is more mature.
This commit is contained in:
parent
3ad6af22c0
commit
465b8362c5
1 changed files with 10 additions and 9 deletions
|
@ -29,15 +29,16 @@ module Fog
|
|||
module Utils
|
||||
|
||||
def cdn
|
||||
@cdn ||= Fog::CDN.new(
|
||||
:provider => 'HP',
|
||||
:hp_account_id => @hp_account_id,
|
||||
:hp_secret_key => @hp_secret_key,
|
||||
:hp_auth_uri => @hp_auth_uri
|
||||
)
|
||||
if @cdn.enabled?
|
||||
@cdn
|
||||
end
|
||||
#@cdn ||= Fog::CDN.new(
|
||||
# :provider => 'HP',
|
||||
# :hp_account_id => @hp_account_id,
|
||||
# :hp_secret_key => @hp_secret_key,
|
||||
# :hp_auth_uri => @hp_auth_uri
|
||||
#)
|
||||
#if @cdn.enabled?
|
||||
# @cdn
|
||||
#end
|
||||
nil
|
||||
end
|
||||
|
||||
def url
|
||||
|
|
Loading…
Reference in a new issue