Skip to content

Commit

Permalink
suppress ci_wait change to default for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Grant Gongaware committed Jul 19, 2018
1 parent fdd21ab commit 6d51c5b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proxmox/resource_vm_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ func resourceVmQemu() *schema.Resource {
Type: schema.TypeInt,
Optional: true,
Default: 30,
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
if old == "" {
return true // old empty ok
}
return strings.TrimSpace(old) == strings.TrimSpace(new)
},
},
"ciuser": {
Type: schema.TypeString,
Expand Down

0 comments on commit 6d51c5b

Please sign in to comment.