fix: [dvm] param mul
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-24 12:28:43 +00:00
parent 0b51a5ecee
commit 9106221204

View File

@ -87,8 +87,8 @@ impl DVMHandler for LnvpsDvm {
let template = VmCustomTemplate {
id: 0,
cpu: cpu.parse()?,
memory: memory.parse()? * MB,
disk_size: disk.parse()? * GB,
memory: MB * memory.parse::<u64>()?,
disk_size: GB * disk.parse::<u64>()?,
disk_type: DiskType::from_str(disk_type)?,
disk_interface: DiskInterface::from_str(disk_interface)?,
pricing_id: pricing.id,