Skip to content

Commit

Permalink
Merge pull request Telmate#996 from Tinyblargon/fix#961
Browse files Browse the repository at this point in the history
fix `qemu_os` diff to `null`
  • Loading branch information
Tinyblargon authored Apr 25, 2024
2 parents cfa2e6d + 26a74f0 commit faa8e60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proxmox/resource_vm_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ func resourceVmQemu() *schema.Resource {
// if new == "l26" {
// return len(d.Get("clone").(string)) > 0 // the cloned source may have a different os, which we should leave alone
// }
if new == "" {
return true
}
return strings.TrimSpace(old) == strings.TrimSpace(new)
},
},
Expand Down

0 comments on commit faa8e60

Please sign in to comment.