Remove `omitempty` on Alert Condition Terms "Threshold"
grubernaut opened this issue · 1 comments
grubernaut commented
Discovered via: https://github.com/terraform-providers/terraform-provider-newrelic/issues/12
It's currently valid to submit a threshold
for a term with a float64 value of 0.0
. However, omitempty
is removing the item from the struct prior to the API request. Removing omitempty
allows the alert condition to be created.
grubernaut commented
#7, should fix this