mirror of https://github.com/kubernetes/kops.git
logging
This commit is contained in:
parent
db11e113d9
commit
7377250a13
|
|
@ -1 +1 @@
|
|||
Subproject commit 5b9ef417329fea35e35f510ede2042ad6386dd49
|
||||
Subproject commit 82c2538cf7541383a3d203e1d850331a507bc80c
|
||||
|
|
@ -49,6 +49,7 @@ func (e *NatGateway) Find(c *fi.Context) (*NatGateway, error) {
|
|||
var filters []*ec2.Filter
|
||||
filters = append(filters, awsup.NewEC2Filter("key", "AssociatedNatgateway"))
|
||||
if e.Subnet.ID == nil {
|
||||
glog.V(2).Infof("Unable to find subnet, bypassing Find() for NGW")
|
||||
return nil, nil
|
||||
}
|
||||
filters = append(filters, awsup.NewEC2Filter("resource-id", *e.Subnet.ID))
|
||||
|
|
|
|||
Loading…
Reference in New Issue