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 13b6fd9 commit 839c0ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (r *QualityMonitorResource) Update(ctx context.Context, req resource.Update
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 / tests

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)
monitor, err := w.QualityMonitors.Update(ctx, updateMonitorGoSDK)
monitor, err := w.QualityMonitors.Schedule.Update(ctx, updateMonitorGoSDK)

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

View workflow job for this annotation

GitHub Actions / Analyze (go)

w.QualityMonitors.Schedule undefined (type catalog.QualityMonitorsInterface has no field or method Schedule)

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

View workflow job for this annotation

GitHub Actions / tests

w.QualityMonitors.Schedule undefined (type catalog.QualityMonitorsInterface has no field or method Schedule) (compile)

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

View workflow job for this annotation

GitHub Actions / compute_diff

w.QualityMonitors.Schedule undefined (type catalog.QualityMonitorsInterface has no field or method Schedule)
if err != nil {
resp.Diagnostics.AddError("failed to update monitor", err.Error())
return
Expand Down

0 comments on commit 839c0ee

Please sign in to comment.