From e7adda98e5186870721b9e189795907c240c942e Mon Sep 17 00:00:00 2001 From: Nguyen Dinh <92940366+nguyenkndinh@users.noreply.github.com> Date: Tue, 29 Mar 2022 13:45:27 -0700 Subject: [PATCH] missed a couple more lint errors --- pkg/controllers/tagging/tagging_controller_wrapper.go | 1 + pkg/providers/v1/aws_fakes.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/controllers/tagging/tagging_controller_wrapper.go b/pkg/controllers/tagging/tagging_controller_wrapper.go index 1734fb454e..f5d376b482 100644 --- a/pkg/controllers/tagging/tagging_controller_wrapper.go +++ b/pkg/controllers/tagging/tagging_controller_wrapper.go @@ -21,6 +21,7 @@ const ( TaggingControllerKey = "tagging" ) +// ControllerWrapper is the wrapper for the tagging controller type ControllerWrapper struct { Options options.TaggingControllerOptions } diff --git a/pkg/providers/v1/aws_fakes.go b/pkg/providers/v1/aws_fakes.go index acd21f7539..dee83d35b7 100644 --- a/pkg/providers/v1/aws_fakes.go +++ b/pkg/providers/v1/aws_fakes.go @@ -263,7 +263,7 @@ func (ec2i *FakeEC2Impl) RemoveSubnets() { ec2i.Subnets = ec2i.Subnets[:0] } -// Mock CreateTags from EC2 +// CreateTags is a mock for CreateTags from EC2 func (ec2i *FakeEC2Impl) CreateTags(input *ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error) { for _, id := range input.Resources { if *id == "i-error" { @@ -273,7 +273,7 @@ func (ec2i *FakeEC2Impl) CreateTags(input *ec2.CreateTagsInput) (*ec2.CreateTags return &ec2.CreateTagsOutput{}, nil } -// Mock DeleteTags from EC2 +// DeleteTags is a mock for DeleteTags from EC2 func (ec2i *FakeEC2Impl) DeleteTags(input *ec2.DeleteTagsInput) (*ec2.DeleteTagsOutput, error) { for _, id := range input.Resources { if *id == "i-error" {