mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
remove deprecated service initializers
This commit is contained in:
parent
169557f280
commit
fadb437255
19 changed files with 9 additions and 151 deletions
|
|
@ -19,12 +19,6 @@ class Linode < Fog::Bin
|
|||
Fog::Compute.new(:provider => 'Linode')
|
||||
when :dns
|
||||
Fog::DNS.new(:provider => 'Linode')
|
||||
when :linode
|
||||
location = caller.first
|
||||
warning = "[yellow][WARN] Linode[:linode] is deprecated, use Linode[:compute] instead[/]"
|
||||
warning << " [light_black](" << location << ")[/] "
|
||||
Formatador.display_line(warning)
|
||||
Fog::Compute.new(:provider => 'Linode')
|
||||
else
|
||||
raise ArgumentError, "Unrecognized service: #{key.inspect}"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue