Skip to content

Commit d9c7772

Browse files
committed
remove extra comments and print statements
1 parent 875ca5d commit d9c7772

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

sumologic/resource_sumologic_cse_match_list.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,6 @@ func resourceSumologicCSEMatchListCreate(d *schema.ResourceData, meta interface{
216216

217217
}
218218

219-
println("create: finished resourceSumologicCSEMatchListCreate")
220-
221219
return resourceSumologicCSEMatchListRead(d, meta)
222220
}
223221

@@ -306,7 +304,6 @@ func resourceSumologicCSEMatchListUpdate(d *schema.ResourceData, meta interface{
306304
}
307305

308306
_, err = createStateConf.WaitForState()
309-
310307
if err != nil {
311308
return fmt.Errorf("error waiting for match list (%s) to be updated: %s", d.Id(), err)
312309
}

sumologic/resource_sumologic_cse_match_list_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"testing"
77

88
"github.com/google/uuid"
9-
109
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
1110
"github.com/hashicorp/terraform-plugin-sdk/terraform"
1211
)

sumologic/sumologic_cse_match_list_item.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ func (s *Client) SendCreateCSEMatchListItemsRequest(CSEMatchListItemPost []CSEMa
8585
return err
8686
}
8787

88-
fmt.Printf("SendCreateCSEMatchListItemsRequest: sent request for %d items\n", len(CSEMatchListItemPost))
89-
9088
err = json.Unmarshal(responseBody, &response)
9189

9290
if err != nil {
@@ -100,7 +98,7 @@ func (s *Client) CreateCSEMatchListItems(CSEMatchListItemPost []CSEMatchListItem
10098
var start = 0
10199
var end = 1000
102100

103-
//If there are more than 1000 items, send requests in batches of 1000 due to the API's maximum item limit allowed per request.
101+
//If there are more than 1000 items, send requests in batches of 1000
104102
for end < len(CSEMatchListItemPost) {
105103
err := s.SendCreateCSEMatchListItemsRequest(CSEMatchListItemPost[start:end], MatchListID)
106104
if err != nil {

0 commit comments

Comments
 (0)