From 13b6fd93e6088bdbcb16bc8977b9bf610c0f9980 Mon Sep 17 00:00:00 2001 From: xinyijiang-db <158105497+xinyijiang-db@users.noreply.github.com> Date: Fri, 15 Nov 2024 11:06:38 -0800 Subject: [PATCH] Update resource_quality_monitor.go --- catalog/resource_quality_monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/resource_quality_monitor.go b/catalog/resource_quality_monitor.go index 8d2183b62..97581170a 100644 --- a/catalog/resource_quality_monitor.go +++ b/catalog/resource_quality_monitor.go @@ -100,7 +100,7 @@ func ResourceQualityMonitor() common.Resource { var update catalog.UpdateMonitor common.DataToStructPointer(d, monitorSchema, &update) update.TableName = d.Get("table_name").(string) - update.PauseStatus = "" + update.Schedule.PauseStatus = "" _, err = w.QualityMonitors.Update(ctx, update) if err != nil { return err