mirror of
				https://github.com/fog/fog-aws.git
				synced 2022-11-09 13:50:52 -05:00 
			
		
		
		
	repair request logic
This commit is contained in:
		
							parent
							
								
									39abf370a4
								
							
						
					
					
						commit
						219c2b1038
					
				
					 3 changed files with 9 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -27,15 +27,11 @@ Shindo.tests("AWS::RDS | server", ['aws', 'rds']) do
 | 
			
		|||
    tests("#modify").succeeds do
 | 
			
		||||
      pending if Fog.mocking?
 | 
			
		||||
 | 
			
		||||
      engine = rds_default_server_params.fetch(:engine)
 | 
			
		||||
      engine  = rds_default_server_params.fetch(:engine)
 | 
			
		||||
      version = rds_default_server_params.fetch(:version).match(/\d+\.\d+/).to_s
 | 
			
		||||
 | 
			
		||||
      family = "#{engine}#{version}"
 | 
			
		||||
 | 
			
		||||
      puts family
 | 
			
		||||
 | 
			
		||||
      orig_parameter_group = @instance.db_parameter_groups.first['DBParameterGroupName']
 | 
			
		||||
      parameter_group = Fog::AWS[:rds].parameter_groups.create(:id => uniq_id, :family => family, :description => 'fog-test')
 | 
			
		||||
      parameter_group = Fog::AWS[:rds].parameter_groups.create(:id => uniq_id, :family => "#{engine}#{version}", :description => 'fog-test')
 | 
			
		||||
 | 
			
		||||
      orig_security_groups = @instance.db_security_groups.map{|h| h['DBSecurityGroupName']}
 | 
			
		||||
      security_group = Fog::AWS[:rds].security_groups.create(:id => uniq_id, :description => 'fog-test')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue