suppress ci_wait change to default for backward compatibility

This commit is contained in:
Grant Gongaware 2018-07-19 09:53:00 -07:00
parent fdd21abd51
commit 6d51c5bf55

View File

@ -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,