From 228367e293158a044a5c0b1e175f8e2035f5bd98 Mon Sep 17 00:00:00 2001 From: geemus Date: Fri, 21 Jan 2011 16:10:53 -0800 Subject: [PATCH] [rackspace|storage] use non-deprecated cdn connection --- lib/fog/storage/rackspace.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/fog/storage/rackspace.rb b/lib/fog/storage/rackspace.rb index de045c316..6f5a7de46 100644 --- a/lib/fog/storage/rackspace.rb +++ b/lib/fog/storage/rackspace.rb @@ -43,8 +43,9 @@ module Fog 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