Skip to content

Commit

Permalink
Revert "fix: enable new versions of providers to run on old tfstate f…
Browse files Browse the repository at this point in the history
…iles Telmate#70…" (Telmate#946)

This reverts commit 60d1a3b.
  • Loading branch information
hestiahacker authored and spettinichi committed Mar 12, 2024
1 parent c96175e commit cdf7417
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions proxmox/resource_vm_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
}
}

Expand Down

0 comments on commit cdf7417

Please sign in to comment.