Skip to content

Commit

Permalink
fix client
Browse files Browse the repository at this point in the history
  • Loading branch information
teowa committed Dec 3, 2024
1 parent e3ed0c4 commit 33e9509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/newrelic/new_relic_monitor_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ func (r NewRelicMonitorResource) Update() sdk.ResourceFunc {
},
}

if err := metadata.Client.NewRelic.MonitoredSubscriptionsClient.CreateOrUpdateThenPoll(ctx, monitorId, monitoredSubscriptionsProperties); err != nil {
if err := monitoredSubscriptionsClient.CreateOrUpdateThenPoll(ctx, monitorId, monitoredSubscriptionsProperties); err != nil {
return fmt.Errorf("updating NewRelic Monitored Subscriptions of %s: %+v", *id, err)
}
}
Expand Down

0 comments on commit 33e9509

Please sign in to comment.