From f9a1c063b978caa3a346d9278de146910758021b Mon Sep 17 00:00:00 2001 From: hestiahacker <116128976+hestiahacker@users.noreply.github.com> Date: Fri, 23 Feb 2024 13:02:20 -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"?= 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 0bf3282f..a636d017 100755 --- a/proxmox/resource_vm_qemu.go +++ b/proxmox/resource_vm_qemu.go @@ -3094,12 +3094,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) - }, } }