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:
		
							parent
							
								
									58577e17bf
								
							
						
					
					
						commit
						eb6bca6f34
					
				
					 20 changed files with 64 additions and 22 deletions
				
			
		| 
						 | 
				
			
			@ -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]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue