mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-07-06 09:32:38 +00:00
suppress more whitespace
This commit is contained in:
parent
06bdf455b9
commit
c2eed29132
|
@ -27,6 +27,9 @@ func resourceVmQemu() *schema.Resource {
|
|||
"desc": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
|
||||
return strings.TrimSpace(old) == strings.TrimSpace(new)
|
||||
},
|
||||
},
|
||||
"target_node": {
|
||||
Type: schema.TypeString,
|
||||
|
@ -90,6 +93,9 @@ func resourceVmQemu() *schema.Resource {
|
|||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
|
||||
return strings.TrimSpace(old) == strings.TrimSpace(new)
|
||||
},
|
||||
},
|
||||
"ssh_user": {
|
||||
Type: schema.TypeString,
|
||||
|
|
Loading…
Reference in New Issue
Block a user