Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Jack Browne <[email protected]>
  • Loading branch information
brumarqu-te and jabrowne-te committed May 10, 2024
1 parent 6945996 commit 03f213c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions thousandeyes/resource_alert_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ func resourceAlertRule() *schema.Resource {

func resourceAlertRuleRead(d *schema.ResourceData, m interface{}) error {
return GetResource(d, m, func(client *thousandeyes.Client, id int64) (interface{}, error) {
var alerRule, err = client.GetAlertRule(id)
var alertRule, err = client.GetAlertRule(id)
if err != nil {
return nil, err
}
alerRule.TestIds = testIds(*alerRule.Tests)
alerRule.Tests = nil
return alerRule, nil
alertRule.TestIds = testIds(*alertRule.Tests)
alertRule.Tests = nil
return alertRule, nil
})
}

Expand Down

0 comments on commit 03f213c

Please sign in to comment.