mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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:
commit
c455cccb68
@ -224,7 +224,7 @@ func resourceDatadogMonitorCreate(d *schema.ResourceData, meta interface{}) erro
|
|||||||
m := buildMonitorStruct(d)
|
m := buildMonitorStruct(d)
|
||||||
m, err := client.CreateMonitor(m)
|
m, err := client.CreateMonitor(m)
|
||||||
if err != nil {
|
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))
|
d.SetId(strconv.Itoa(m.Id))
|
||||||
|
Loading…
Reference in New Issue
Block a user