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:
parent
a6f4e14894
commit
d9ff6e3a71
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue