Skip to content

Commit a3bbaae

Browse files
authored
Fix semgrep error
1 parent c4f5c17 commit a3bbaae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/service/ec2/find.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4189,11 +4189,11 @@ func findIPAMPoolAllocationsByIPAMPoolIDAndResourceID(ctx context.Context, conn
41894189
}
41904190

41914191
func findIPAMPoolAllocationsForVPC(ctx context.Context, conn *ec2.Client, poolID, vpcID string) ([]awstypes.IpamPoolAllocation, error) {
4192-
input := &ec2.GetIpamPoolAllocationsInput{
4192+
input := ec2.GetIpamPoolAllocationsInput{
41934193
IpamPoolId: aws.String(poolID),
41944194
}
41954195

4196-
output, err := findIPAMPoolAllocations(ctx, conn, input)
4196+
output, err := findIPAMPoolAllocations(ctx, conn, &input)
41974197

41984198
if err != nil {
41994199
return nil, err

0 commit comments

Comments
 (0)