fixed trying to match NatGateway via RouteTable log

This commit is contained in:
Carlos Alexandro Becker 2017-05-01 20:45:45 -03:00
parent 62f181e5c1
commit dba9c4b286
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ func findNatGatewayById(cloud awsup.AWSCloud, id *string) (*ec2.NatGateway, erro
func findNatGatewayFromRouteTable(cloud awsup.AWSCloud, routeTable *RouteTable) (*ec2.NatGateway, error) {
// Find via route on private route table
if routeTable.ID != nil {
glog.V(2).Infof("trying to match NatGateway via RouteTable %s", routeTable.ID)
glog.V(2).Infof("trying to match NatGateway via RouteTable %s", *routeTable.ID)
rt, err := routeTable.findEc2RouteTable(cloud)
if err != nil {
return nil, fmt.Errorf("error finding associated RouteTable to NatGateway: %v", err)