mirror of https://github.com/kubernetes/kops.git
Merge pull request #1844 from ikropotov/master
fixing bug with leaking Elastic ips on cluster delete.
This commit is contained in:
commit
05eb1d5e8e
|
|
@ -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