chore: fix typos in go comments

main
sundowndev 2022-01-24 18:06:05 +04:00
parent 0965239d8e
commit 554728d4de
No known key found for this signature in database
GPG Key ID: 100CE2799D978462
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import (
"github.com/snyk/driftctl/pkg/resource/aws" "github.com/snyk/driftctl/pkg/resource/aws"
) )
// AwsDefaultApiGatewayAccount is a middleware that ignores default API gateway account resources in the current region // AwsDefaultApiGatewayAccount is a middleware that ignores the default API Gateway account resource in the current region.
type AwsDefaultApiGatewayAccount struct{} type AwsDefaultApiGatewayAccount struct{}
func NewAwsDefaultApiGatewayAccount() AwsDefaultApiGatewayAccount { func NewAwsDefaultApiGatewayAccount() AwsDefaultApiGatewayAccount {

View File

@ -19,7 +19,7 @@ func TestAwsDefaultApiGatewayAccount_Execute(t *testing.T) {
expected []*resource.Resource expected []*resource.Resource
}{ }{
{ {
"test that default account are not ignored when managed by IaC", "test that default account is not ignored when managed by IaC",
[]*resource.Resource{ []*resource.Resource{
{ {
Id: "fake", Id: "fake",
@ -54,7 +54,7 @@ func TestAwsDefaultApiGatewayAccount_Execute(t *testing.T) {
}, },
}, },
{ {
"test that default account are ignored when not managed by IaC", "test that default account is ignored when not managed by IaC",
[]*resource.Resource{ []*resource.Resource{
{ {
Id: "fake", Id: "fake",