provider/datadog: Fix spelling mistake of monitor in datadog_monitor

error message

Fixes: #11951
This commit is contained in:
stack72 2017-02-15 10:41:37 +00:00
parent e0aae4392b
commit b6f67b2374
No known key found for this signature in database
GPG Key ID: 8619A619B085CB16
1 changed files with 1 additions and 1 deletions

View File

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