Skip to content

Commit

Permalink
r/lakeformation_permissions: Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed Mar 18, 2021
1 parent e266ce0 commit 2e9bb88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws/resource_aws_lakeformation_permissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ func flattenLakeFormationTableWithColumnsResource(apiObject *lakeformation.Table
}

func flattenLakeFormationPermissions(apiObjects []*lakeformation.PrincipalResourcePermissions) []string {
if apiObjects == nil || len(apiObjects) == 0 {
if apiObjects == nil {
return nil
}

Expand All @@ -711,7 +711,7 @@ func flattenLakeFormationPermissions(apiObjects []*lakeformation.PrincipalResour
}

func flattenLakeFormationGrantPermissions(apiObjects []*lakeformation.PrincipalResourcePermissions) []string {
if apiObjects == nil || len(apiObjects) == 0 {
if apiObjects == nil {
return nil
}

Expand Down

0 comments on commit 2e9bb88

Please sign in to comment.