1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

fix deprecation warning

This commit is contained in:
joewilliams 2010-11-01 11:52:04 -07:00 committed by geemus
parent a6f4e14894
commit d9ff6e3a71

View file

@ -11,7 +11,7 @@ module Fog
def self.new(attributes = {})
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 << ")[/] "
Formatador.display_line(warning)
Fog::Slicehost::Compute.new(attributes)