2010-09-02 20:39:01 +00:00
|
|
|
module Fog
|
2009-06-30 16:43:39 +00:00
|
|
|
module AWS
|
2010-09-08 21:40:02 +00:00
|
|
|
class EC2
|
|
|
|
|
|
|
|
def self.new(attributes = {})
|
|
|
|
location = caller.first
|
|
|
|
warning = "[yellow][WARN] Fog::AWS::EC2#new is deprecated, use Fog::AWS::Compute#new instead[/]"
|
|
|
|
warning << " [light_black](" << location << ")[/] "
|
|
|
|
Formatador.display_line(warning)
|
|
|
|
Fog::AWS::Compute.new(attributes)
|
2009-08-14 17:35:16 +00:00
|
|
|
end
|
|
|
|
|
2009-06-30 16:43:39 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|