Skip to content

Commit

Permalink
Update resource_quality_monitor.go
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyijiang-db authored Nov 15, 2024
1 parent 45d1eff commit d22a018
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ func (r *QualityMonitorResource) Update(ctx context.Context, req resource.Update
if resp.Diagnostics.HasError() {
return
}
updateMonitorGoSDK.PauseStatus = ""

Check failure on line 198 in internal/providers/pluginfw/products/qualitymonitor/resource_quality_monitor.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

updateMonitorGoSDK.PauseStatus undefined (type catalog.UpdateMonitor has no field or method PauseStatus)

Check failure on line 198 in internal/providers/pluginfw/products/qualitymonitor/resource_quality_monitor.go

View workflow job for this annotation

GitHub Actions / compute_diff

updateMonitorGoSDK.PauseStatus undefined (type catalog.UpdateMonitor has no field or method PauseStatus)

Check failure on line 198 in internal/providers/pluginfw/products/qualitymonitor/resource_quality_monitor.go

View workflow job for this annotation

GitHub Actions / tests

updateMonitorGoSDK.PauseStatus undefined (type catalog.UpdateMonitor has no field or method PauseStatus) (compile)
monitor, err := w.QualityMonitors.Update(ctx, updateMonitorGoSDK)
if err != nil {
resp.Diagnostics.AddError("failed to update monitor", err.Error())
Expand Down

0 comments on commit d22a018

Please sign in to comment.