Merge pull request #11958 from hashicorp/b-datadog-spelling-mistake

provider/datadog: Fix spelling mistake of monitor in datadog_monitor error message
This commit is contained in:
James Nugent 2017-02-15 04:48:44 -06:00 committed by GitHub
commit c455cccb68
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))