Skip to content

Commit

Permalink
Merge pull request #1055 from oreze/1054-cannot-change-mbps-wr-concur…
Browse files Browse the repository at this point in the history
…rent-config-for-disks

Fix retrieving mbps_wr_concurrent value
  • Loading branch information
Tinyblargon authored Jul 26, 2024
2 parents fee4a3d + 8334663 commit 658dbe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxmox/resource_vm_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -2030,7 +2030,7 @@ func mapFormStruct_QemuDiskBandwidth(params map[string]interface{}, config pxapi
params["mbps_r_burst"] = float64(config.MBps.ReadLimit.Burst)
params["mbps_r_concurrent"] = float64(config.MBps.ReadLimit.Concurrent)
params["mbps_wr_burst"] = float64(config.MBps.WriteLimit.Burst)
params["mbps_wr_concurrent"] = float64(config.MBps.ReadLimit.Burst)
params["mbps_wr_concurrent"] = float64(config.MBps.WriteLimit.Concurrent)
params["iops_r_burst"] = int(config.Iops.ReadLimit.Burst)
params["iops_r_burst_length"] = int(config.Iops.ReadLimit.BurstDuration)
params["iops_r_concurrent"] = int(config.Iops.ReadLimit.Concurrent)
Expand Down

0 comments on commit 658dbe3

Please sign in to comment.