mirror of https://github.com/kubernetes/kops.git
				
				
				
			fixing bug with leaking Elastic ips on cluster delete.
This commit is contained in:
		
							parent
							
								
									765f612a7f
								
							
						
					
					
						commit
						31cb04021f
					
				| 
						 | 
				
			
			@ -776,7 +776,7 @@ func ListSubnets(cloud fi.Cloud, clusterName string) ([]*ResourceTracker, error)
 | 
			
		|||
 | 
			
		||||
		for _, address := range response.Addresses {
 | 
			
		||||
			ip := aws.StringValue(address.PublicIp)
 | 
			
		||||
			if elasticIPs.Has(ip) {
 | 
			
		||||
			if !elasticIPs.Has(ip) {
 | 
			
		||||
				continue
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue