Skip to content

Commit

Permalink
Refactor getDynamoDBTables
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorGFM committed Feb 2, 2024
1 parent 660dcad commit a876c64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ func (c *AWSScanner) getDynamoDBTables(
}

tables := make([]dynamoDBTable, 0, len(tableNames))
for _, tableName := range tableNames {
for i := range tableNames {
tableName := tableNames[i]
describeTableOutput, err := c.dynamodbClient.DescribeTable(
ctx,
&dynamodb.DescribeTableInput{
Expand Down

0 comments on commit a876c64

Please sign in to comment.