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:
parent
9c47651995
commit
73c2035cc1
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue