From cdf74172a32592064515bd089c79f0bc5c0d5afd Mon Sep 17 00:00:00 2001 From: hestiahacker <116128976+hestiahacker@users.noreply.github.com> Date: Fri, 23 Feb 2024 16:37:06 -0600 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20enable=20new=20versions=20of?= =?UTF-8?q?=20providers=20to=20run=20on=20old=20tfstate=20files=20#70?= =?UTF-8?q?=E2=80=A6"=20(#946)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 60d1a3bdea1f51e871e9e04c57fb685e65f59117. --- proxmox/resource_vm_qemu.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/proxmox/resource_vm_qemu.go b/proxmox/resource_vm_qemu.go index 4dbbe4bc..9a02aedd 100755 --- a/proxmox/resource_vm_qemu.go +++ b/proxmox/resource_vm_qemu.go @@ -3167,12 +3167,6 @@ func schema_DiskBackup() *schema.Schema { Type: schema.TypeBool, Optional: true, Default: true, - // Convert previous integer values of 0/1 to booleans - StateFunc: func(val interface{}) string { - if val.(string) == "0" {return "false"} - if val.(string) == "1" {return "true"} - return val.(string) - }, } }