1
0
Fork 0
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:
Rupak Ganguly 2011-10-24 17:33:49 -04:00
parent 3ad6af22c0
commit 465b8362c5

View file

@ -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