provider/datadog: Fix spelling mistake of monitor in datadog_monitor
error message Fixes: #11951
This commit is contained in:
parent
e0aae4392b
commit
b6f67b2374
|
@ -224,7 +224,7 @@ func resourceDatadogMonitorCreate(d *schema.ResourceData, meta interface{}) erro
|
|||
m := buildMonitorStruct(d)
|
||||
m, err := client.CreateMonitor(m)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error updating montor: %s", err.Error())
|
||||
return fmt.Errorf("error updating monitor: %s", err.Error())
|
||||
}
|
||||
|
||||
d.SetId(strconv.Itoa(m.Id))
|
||||
|
|
Loading…
Reference in New Issue