Skip to content

Commit

Permalink
Semgrep fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Oct 4, 2024
1 parent e865c74 commit a19eba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/ec2/ec2_spot_instance_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func resourceSpotInstanceRequest() *schema.Resource {
continue
}
// Copy-on-write
x := *v
x := *v // nosemgrep:ci.semgrep.aws.prefer-pointer-conversion-assignment
x.ForceNew = true
s[k] = &x
}
Expand Down

0 comments on commit a19eba1

Please sign in to comment.