Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviassss committed Oct 18, 2024
1 parent 78f7edc commit b2d8753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/aws/provider/default_aws_clients_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (p *defaultAWSClientsProvider) GetEC2Client(ctx context.Context, operationN
return p.ec2Client, nil
}

func (p *defaultAWSClientsProvider) GetELBV2Client(ctx context.Context, operationName string) (*elasticloadbalancingv2.Client, error) {
func (p *defaultAWSClientsProvider) GetELBv2Client(ctx context.Context, operationName string) (*elasticloadbalancingv2.Client, error) {
return p.elbv2Client, nil
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/aws/services/ec2.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (c *ec2Client) DescribeSubnetsAsList(ctx context.Context, input *ec2.Descri

func (c *ec2Client) DescribeVPCsAsList(ctx context.Context, input *ec2.DescribeVpcsInput) ([]types.Vpc, error) {
var result []types.Vpc
client, err := c.awsClientsProvider.GetEC2Client(ctx, "DescribeVPCs")
client, err := c.awsClientsProvider.GetEC2Client(ctx, "DescribeVpcs")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit b2d8753

Please sign in to comment.