Skip to content

Commit

Permalink
missed a couple more lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenkndinh authored and saurav-agarwalla committed May 11, 2022
1 parent 7fe3719 commit e7adda9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pkg/controllers/tagging/tagging_controller_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const (
TaggingControllerKey = "tagging"
)

// ControllerWrapper is the wrapper for the tagging controller
type ControllerWrapper struct {
Options options.TaggingControllerOptions
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/providers/v1/aws_fakes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand All @@ -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" {
Expand Down

0 comments on commit e7adda9

Please sign in to comment.