From 4e59b5127d0660902a571eae633a091d31f18af0 Mon Sep 17 00:00:00 2001 From: Tinyblargon <76069640+Tinyblargon@users.noreply.github.com> Date: Sat, 28 Dec 2024 18:30:26 +0100 Subject: [PATCH] fix: refrenced wrong disk type --- proxmox/Internal/resource/guest/qemu/disk/terraform_disks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox/Internal/resource/guest/qemu/disk/terraform_disks.go b/proxmox/Internal/resource/guest/qemu/disk/terraform_disks.go index 589d8bd7..d3ac7167 100644 --- a/proxmox/Internal/resource/guest/qemu/disk/terraform_disks.go +++ b/proxmox/Internal/resource/guest/qemu/disk/terraform_disks.go @@ -139,7 +139,7 @@ func terraform_Disks_QemuSataStorage(config *pveAPI.QemuSataStorage, ciDisk *boo schemaFile: config.Passthrough.File, schemaReplicate: config.Passthrough.Replicate, schemaSerial: string(config.Passthrough.Serial), - schemaSize: convert_KibibytesToString(int64(config.Disk.SizeInKibibytes)), + schemaSize: convert_KibibytesToString(int64(config.Passthrough.SizeInKibibytes)), } terraformQemuDiskBandwidth(mapParams, config.Passthrough.Bandwidth) return []interface{}{map[string]interface{}{