Merge pull request #1844 from ikropotov/master

fixing bug with leaking Elastic ips on cluster delete.
This commit is contained in:
Justin Santa Barbara 2017-02-11 16:09:21 -05:00 committed by GitHub
commit 05eb1d5e8e
1 changed files with 1 additions and 1 deletions

View File

@ -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
}