Skip to content

Commit

Permalink
Fix semgrep 'ci.aws-in-func-name'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Oct 24, 2023
1 parent 157f728 commit 9c34f58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/framework/validators/aws_account_id.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ func (validator awsAccountIDValidator) ValidateString(ctx context.Context, reque
// - Is a string, which represents a valid AWS account ID.
//
// Null (unconfigured) and unknown (known after apply) values are skipped.
func AWSAccountID() validator.String {
func AWSAccountID() validator.String { // nosemgrep:ci.aws-in-func-name
return awsAccountIDValidator{}
}
2 changes: 1 addition & 1 deletion internal/framework/validators/aws_account_id_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
fwvalidators "github.com/hashicorp/terraform-provider-aws/internal/framework/validators"
)

func TestAWSAccountIDValidator(t *testing.T) {
func TestAWSAccountIDValidator(t *testing.T) { // nosemgrep:ci.aws-in-func-name
t.Parallel()

type testCase struct {
Expand Down

0 comments on commit 9c34f58

Please sign in to comment.