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

leftovers that I missed on the first pass in the last few commits

This commit is contained in:
geemus 2010-09-08 14:00:43 -07:00
parent 58577e17bf
commit eb6bca6f34
20 changed files with 64 additions and 22 deletions

View file

@ -11,6 +11,12 @@ module GoGrid
hash[key] = case key
when :compute
Fog::GoGrid::Compute.new
when :servers
location = caller.first
warning = "[yellow][WARN] GoGrid[:servers] is deprecated, use GoGrid[:compute] instead[/]"
warning << " [light_black](" << location << ")[/] "
Formatador.display_line(warning)
Fog::GoGrid::Compute.new
end
end
@@connections[service]

View file

@ -79,7 +79,7 @@ module Fog
rescue Excon::Errors::Error => error
raise case error
when Excon::Errors::NotFound
Fog::Go_Grid::NotFound.slurp(error)
Fog::GoGrid::Compute::NotFound.slurp(error)
else
error
end