Permalink
Browse files

[rackspace|storage] use non-deprecated cdn connection

  • Loading branch information...
1 parent da1804a commit 228367e293158a044a5c0b1e175f8e2035f5bd98 @geemus geemus committed Jan 22, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/fog/storage/rackspace.rb
@@ -43,8 +43,9 @@ class Storage < Fog::Service
module Utils
def cdn
- @cdn ||= Fog::Rackspace::CDN.new(
- :rackspace_api_key => @rackspace_api_key,
+ @cdn ||= Fog::CDN.new(
+ :provider => 'Rackspace',
+ :rackspace_api_key => @rackspace_api_key,
:rackspace_username => @rackspace_username
)
end

0 comments on commit 228367e

Please sign in to comment.