From 0260f0aab7f2da5e92c6e81a5cc9303c9a2f637b Mon Sep 17 00:00:00 2001 From: Yiting Han Date: Fri, 1 Mar 2024 16:40:25 -0800 Subject: [PATCH] SUMO-0: need to clean up --- sumologic/resource_sumologic_generic_polling_source.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sumologic/resource_sumologic_generic_polling_source.go b/sumologic/resource_sumologic_generic_polling_source.go index 31fb981b..87042bd5 100644 --- a/sumologic/resource_sumologic_generic_polling_source.go +++ b/sumologic/resource_sumologic_generic_polling_source.go @@ -353,10 +353,9 @@ func resourceToGenericPollingSource(d *schema.ResourceData) (PollingSource, erro // if d.Get("scan_interval") != 0 { // pollingSource.ScanInterval = d.Get("scan_interval").(int) // } - // if source.ContentType == "AzureEventHubLog" { - // pollingSource.Paused = false - // pollingSource.ScanInterval = 300000 - // } + if source.ContentType == "AzureEventHubLog" { + pollingSource.ScanInterval = 300000 + } authSettings, errAuthSettings := getPollingAuthentication(d) if errAuthSettings != nil {