#789: todo
This commit is contained in:
		
							parent
							
								
									71f0eb779b
								
							
						
					
					
						commit
						e2d49e066f
					
				| @ -1,12 +1,12 @@ | |||||||
| module Provider | module Provider | ||||||
|   class ConnectionFactory |   class ConnectionFactory | ||||||
| 
 | 
 | ||||||
|     def init |     def init config | ||||||
| 
 | 
 | ||||||
|     end |     end | ||||||
| 
 | 
 | ||||||
|     def connection account_name |     def connection account_name | ||||||
|       @connections[account_name] |       @connections[account_name] || @from_config | ||||||
|     end |     end | ||||||
|   end |   end | ||||||
| end | end | ||||||
|  | |||||||
| @ -1,6 +1,7 @@ | |||||||
| require "exceptions/conflict_exception" | require "exceptions/conflict_exception" | ||||||
| require "providers/base_provider" | require "providers/base_provider" | ||||||
| require "db/mongo/models/provider_accounts/ec2_provider_account" | require "db/mongo/models/provider_accounts/ec2_provider_account" | ||||||
|  | require_relative "ec2_connection_factory" | ||||||
| 
 | 
 | ||||||
| module Provider | module Provider | ||||||
|   # Provider for Amazon EC2 |   # Provider for Amazon EC2 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 amartynov
						amartynov