chore: fix typos in go comments
parent
0965239d8e
commit
554728d4de
|
@ -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 {
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue