Skip to content

Commit

Permalink
resource monitor read bug (#1733)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaghezzi authored Apr 20, 2023
1 parent 736ce1e commit 929801b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/resources/resource_monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ func ReadResourceMonitor(d *schema.ResourceData, meta interface{}) error {
setSuspendImmediateTrigger = true
}
if !setSuspendImmediateTrigger {
if len(sTrig) > 0 {
if len(siTrig) > 0 {
if err := d.Set("suspend_immediate_trigger", siTrig[0]); err != nil {
return err
}
Expand Down

0 comments on commit 929801b

Please sign in to comment.