Skip to content

Commit

Permalink
SUMO-0: need to clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
yyyttthan99 committed Mar 2, 2024
1 parent abb6b08 commit 0260f0a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sumologic/resource_sumologic_generic_polling_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0260f0a

Please sign in to comment.