fix deprecation warning

This commit is contained in:
joewilliams 2010-11-01 11:52:04 -07:00 committed by geemus
parent a6f4e14894
commit d9ff6e3a71
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module Fog
def self.new(attributes = {}) def self.new(attributes = {})
location = caller.first location = caller.first
warning = "[yellow][WARN] Fog::Slicehost#new is deprecated, use Fog::Bluebox::Compute#new instead[/]" warning = "[yellow][WARN] Fog::Slicehost#new is deprecated, use Fog::Slicehost::Compute#new instead[/]"
warning << " [light_black](" << location << ")[/] " warning << " [light_black](" << location << ")[/] "
Formatador.display_line(warning) Formatador.display_line(warning)
Fog::Slicehost::Compute.new(attributes) Fog::Slicehost::Compute.new(attributes)