Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Gomez committed Feb 29, 2024
1 parent 31eced8 commit 28594e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws/awsrouter/transit_gateway_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func ExportTgwRoutesExcel(tgws []*Tgw, folder fs.FileInfo) error {
}
var attachmentName = "-"
if len(route.TransitGatewayAttachments) != 0 {
fmt.Println("att len:", len(route.TransitGatewayAttachments))
attachmentID := fmt.Sprint(*route.TransitGatewayAttachments[0].TransitGatewayAttachmentId)
attachmentName = tgwRouteTable.GetAttachmentName(attachmentID)
if attachmentName == "" {
Expand Down

0 comments on commit 28594e1

Please sign in to comment.