Skip to content

Commit

Permalink
fix: clarify helper function name
Browse files Browse the repository at this point in the history
  • Loading branch information
bfisher8 committed Jun 24, 2024
1 parent eca8695 commit d2c83e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/dynamodb-tables.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func ListDynamoDBTables(sess *session.Session) ([]Resource, error) {

resources := make([]Resource, 0)
for _, tableName := range resp.TableNames {
table, tags, err := GetTable(svc, tableName)
table, tags, err := GetDynamoDBTable(svc, tableName)

if err != nil {
continue
Expand Down Expand Up @@ -72,7 +72,7 @@ func (i *DynamoDBTable) Remove() error {
return nil
}

func GetTable(svc *dynamodb.DynamoDB, tableName *string) (*dynamodb.TableDescription, []*dynamodb.Tag, error) {
func GetDynamoDBTable(svc *dynamodb.DynamoDB, tableName *string) (*dynamodb.TableDescription, []*dynamodb.Tag, error) {
result, err := svc.DescribeTable(&dynamodb.DescribeTableInput{
TableName: aws.String(*tableName),
})
Expand Down

0 comments on commit d2c83e5

Please sign in to comment.