Skip to content

Commit

Permalink
fix: typo, retrieve valid WriteLimit.Concurrent value
Browse files Browse the repository at this point in the history
  • Loading branch information
oreze committed Jul 16, 2024
1 parent b7f985a commit 8334663
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 @@ -2035,7 +2035,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 8334663

Please sign in to comment.