Skip to content

Commit

Permalink
addressing comments
Browse files Browse the repository at this point in the history
Signed-off-by: Vishwanath Hiremath <[email protected]>
  • Loading branch information
vishwahiremat committed Aug 1, 2024
1 parent 9d30463 commit a195ad1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/cli/aws/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ func (c *client) ListRegions(ctx context.Context) (*ec2.DescribeRegionsOutput, e
// Create an EC2 client
ec2Client := ec2.NewFromConfig(cfg)

input := &ec2.DescribeRegionsInput{}
result, err := ec2Client.DescribeRegions(ctx, input)
result, err := ec2Client.DescribeRegions(ctx, &ec2.DescribeRegionsInput{})
if err != nil {
return nil, err
}
Expand Down

0 comments on commit a195ad1

Please sign in to comment.