Closed ocampeau closed 3 years ago
This pull request fixes a bug where, if an EC2 instance only have a private or a public IP, it gets ignored.
if inst.PublicIpAddress == nil || inst.PrivateIpAddress == nil { continue }
Since it's an OR, it means it only accepts instance with both a public and a private IP.
My pull request fixes this bug by looking at each IP individually
This pull request fixes a bug where, if an EC2 instance only have a private or a public IP, it gets ignored.
Since it's an OR, it means it only accepts instance with both a public and a private IP.
My pull request fixes this bug by looking at each IP individually