@ -135,7 +135,7 @@ func buildMonitorStruct(d *schema.ResourceData) *datadog.Monitor {
}
o . Silenced = s
}
if attr , ok := d . GetOk ( "notify_ data") ; ok {
if attr , ok := d . GetOk ( "notify_ no_ data") ; ok {
o . NotifyNoData = attr . ( bool )
}
if attr , ok := d . GetOk ( "no_data_timeframe" ) ; ok {
@ -153,9 +153,6 @@ func buildMonitorStruct(d *schema.ResourceData) *datadog.Monitor {
if attr , ok := d . GetOk ( "escalation_message" ) ; ok {
o . EscalationMessage = attr . ( string )
}
if attr , ok := d . GetOk ( "escalation_message" ) ; ok {
o . EscalationMessage = attr . ( string )
}
if attr , ok := d . GetOk ( "include_tags" ) ; ok {
o . IncludeTags = attr . ( bool )
}
@ -226,7 +223,7 @@ func resourceDatadogMonitorRead(d *schema.ResourceData, meta interface{}) error
d . Set ( "type" , m . Type )
d . Set ( "thresholds" , m . Options . Thresholds )
d . Set ( "notify_no_data" , m . Options . NotifyNoData )
d . Set ( "no tify_no _data_timeframe", m . Options . NoDataTimeframe )
d . Set ( "no _data_timeframe", m . Options . NoDataTimeframe )
d . Set ( "renotify_interval" , m . Options . RenotifyInterval )
d . Set ( "notify_audit" , m . Options . NotifyAudit )
d . Set ( "timeout_h" , m . Options . TimeoutH )
@ -275,7 +272,7 @@ func resourceDatadogMonitorUpdate(d *schema.ResourceData, meta interface{}) erro
if attr , ok := d . GetOk ( "notify_no_data" ) ; ok {
o . NotifyNoData = attr . ( bool )
}
if attr , ok := d . GetOk ( "no tify_no _data_timeframe") ; ok {
if attr , ok := d . GetOk ( "no _data_timeframe") ; ok {
o . NoDataTimeframe = attr . ( int )
}
if attr , ok := d . GetOk ( "renotify_interval" ) ; ok {