Skip to content

Commit

Permalink
chore: semgrep fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonaj committed Nov 22, 2024
1 parent 8f7c8a3 commit aa87459
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/service/rds/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ func TestAccRDSCluster_storageTypeGeneralPurposeToProvisionedIOPS(t *testing.T)
{
Config: testAccClusterConfig_storageChange(rName, "gp3"),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "storage_type", "gp3"),
resource.TestCheckResourceAttr(resourceName, names.AttrStorageType, "gp3"),
),
},
{
Expand Down
2 changes: 1 addition & 1 deletion internal/service/rds/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -2589,7 +2589,7 @@ func dbInstancePopulateModify(input *rds.ModifyDBInstanceInput, d *schema.Resour

if slices.Contains([]string{storageTypeIO1, storageTypeIO2}, aws.ToString(input.StorageType)) {
input.Iops = aws.Int32(int32(d.Get(names.AttrIOPS).(int)))
input.AllocatedStorage = aws.Int32(int32(d.Get("allocated_storage").(int)))
input.AllocatedStorage = aws.Int32(int32(d.Get(names.AttrAllocatedStorage).(int)))
}
}

Expand Down

0 comments on commit aa87459

Please sign in to comment.