terraform/builtin/providers
Paul Stack b57e0bee2a provider/datadog: Update to datadog_monitor still used d.GetOk (#12497)
Fixes: #12494

The Create was changed to use the default and not d.GetOk - the update
wasn't - this was causing issues when trying to update to a false value

```
% make testacc TEST=./builtin/providers/datadog
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/03/07 16:20:54 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/datadog -v  -timeout 120m
=== RUN   TestDatadogMonitor_import
--- PASS: TestDatadogMonitor_import (4.77s)
=== RUN   TestDatadogUser_import
--- PASS: TestDatadogUser_import (6.23s)
=== RUN   TestProvider
--- PASS: TestProvider (0.00s)
=== RUN   TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN   TestAccDatadogMonitor_Basic
--- PASS: TestAccDatadogMonitor_Basic (3.83s)
=== RUN   TestAccDatadogMonitor_BasicNoTreshold
--- PASS: TestAccDatadogMonitor_BasicNoTreshold (4.92s)
=== RUN   TestAccDatadogMonitor_Updated
--- PASS: TestAccDatadogMonitor_Updated (5.88s)
=== RUN   TestAccDatadogMonitor_TrimWhitespace
--- PASS: TestAccDatadogMonitor_TrimWhitespace (3.23s)
=== RUN   TestAccDatadogMonitor_Basic_float_int
--- PASS: TestAccDatadogMonitor_Basic_float_int (5.73s)
=== RUN   TestAccDatadogTimeboard_update
--- PASS: TestAccDatadogTimeboard_update (8.86s)
=== RUN   TestValidateAggregatorMethod
--- PASS: TestValidateAggregatorMethod (0.00s)
=== RUN   TestAccDatadogUser_Updated
--- PASS: TestAccDatadogUser_Updated (6.05s)
PASS
ok  	github.com/hashicorp/terraform/builtin/providers/datadog	49.506s
```
2017-03-07 16:36:37 +02:00
..
alicloud
archive
arukas
atlas
aws Check instance is running before trying to attach (#12459) 2017-03-07 16:20:01 +02:00
azure
azurerm
bitbucket
chef
clc
cloudflare
cloudstack
cobbler
consul
datadog provider/datadog: Update to datadog_monitor still used d.GetOk (#12497) 2017-03-07 16:36:37 +02:00
digitalocean
dme
dns
dnsimple
docker
dyn
external
fastly
github
google provider/google: initial commit for node pool resource (#11802) 2017-03-06 14:59:24 -08:00
grafana
heroku
icinga2
ignition provider/ignition: migration from resources to data resources (#11851) 2017-03-06 14:23:04 +02:00
influxdb
librato
logentries
mailgun
mysql
newrelic
nomad
ns1
null
openstack
opsgenie
packet
pagerduty
postgresql
powerdns
profitbricks
rabbitmq
rancher
random
rundeck
scaleway
softlayer
spotinst
statuscake
template
terraform
test
tls
triton
ultradns
vault
vcd
vsphere