File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -368,6 +368,11 @@ func resourceToMonitorsLibraryMonitor(d *schema.ResourceData) MonitorsLibraryMon
368368 q .RowID = queryDict ["row_id" ].(string )
369369 queries [i ] = q
370370 }
371+ rawStatus := d .Get ("status" ).([]interface {})
372+ status := make ([]string , len (rawStatus ))
373+ for i := range rawStatus {
374+ status [i ] = rawStatus [i ].(string )
375+ }
371376
372377 return MonitorsLibraryMonitor {
373378 CreatedBy : d .Get ("created_by" ).(string ),
@@ -389,7 +394,7 @@ func resourceToMonitorsLibraryMonitor(d *schema.ResourceData) MonitorsLibraryMon
389394 IsLocked : d .Get ("is_locked" ).(bool ),
390395 IsSystem : d .Get ("is_system" ).(bool ),
391396 IsDisabled : d .Get ("is_disabled" ).(bool ),
392- Status : d . Get ( " status" ).([] string ) ,
397+ Status : status ,
393398 GroupNotifications : d .Get ("group_notifications" ).(bool ),
394399 }
395400}
You can’t perform that action at this time.
0 commit comments