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

[slicehost] add deprecation warnings

This commit is contained in:
geemus 2012-03-17 13:49:37 -05:00
parent 9c47651995
commit 73c2035cc1
2 changed files with 2 additions and 0 deletions

View file

@ -61,6 +61,7 @@ module Fog
require 'fog/rackspace/compute'
Fog::Compute::Rackspace.new(attributes)
when :slicehost
warn "[DEPRECATION] `slicehost` is deprecated. Please use `rackspace` instead."
require 'fog/slicehost/compute'
Fog::Compute::Slicehost.new(attributes)
when :stormondemand

View file

@ -27,6 +27,7 @@ module Fog
require 'fog/linode/dns'
Fog::DNS::Linode.new(attributes)
when :slicehost
warn "[DEPRECATION] `slicehost` is deprecated. Please use `racksace` instead."
require 'fog/slicehost/dns'
Fog::DNS::Slicehost.new(attributes)
when :zerigo