From 554728d4de419b6f315e93e560dfe85c2249abed Mon Sep 17 00:00:00 2001 From: sundowndev Date: Mon, 24 Jan 2022 18:06:05 +0400 Subject: [PATCH] chore: fix typos in go comments --- pkg/middlewares/aws_default_api_gateway_account.go | 2 +- pkg/middlewares/aws_default_api_gateway_account_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/middlewares/aws_default_api_gateway_account.go b/pkg/middlewares/aws_default_api_gateway_account.go index 9efa38bd..0d1d79b1 100644 --- a/pkg/middlewares/aws_default_api_gateway_account.go +++ b/pkg/middlewares/aws_default_api_gateway_account.go @@ -6,7 +6,7 @@ import ( "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{} func NewAwsDefaultApiGatewayAccount() AwsDefaultApiGatewayAccount { diff --git a/pkg/middlewares/aws_default_api_gateway_account_test.go b/pkg/middlewares/aws_default_api_gateway_account_test.go index 27db6818..a391e868 100644 --- a/pkg/middlewares/aws_default_api_gateway_account_test.go +++ b/pkg/middlewares/aws_default_api_gateway_account_test.go @@ -19,7 +19,7 @@ func TestAwsDefaultApiGatewayAccount_Execute(t *testing.T) { 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{ { 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{ { Id: "fake",