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 #70…" (#946)

This reverts commit 60d1a3b.
  • Loading branch information
hestiahacker committed Feb 23, 2024
1 parent 2808e32 commit 35d3afa
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 @@ -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)
},
}
}

Expand Down

0 comments on commit 35d3afa

Please sign in to comment.