Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter only kops ec2 resource with type ec2.ResourceTypeSubnet (#1752)
Ensure that only resource with type ec2.ResourceTypeSubnet are processed by ListSubnets When subnets carries AssociatedElasticIp or AssociatedNatgateway tag, ListSubnets function doesn't always return resources with ec2.ResourceTypeSubnet type These resources doesn’t have Obj property causing type conversion from nil into *ec2.Subnet to panic Issue #1410
- Loading branch information