Skip to content

Commit 055ef0f

Browse files
author
Pedro Montiel
committed
update
1 parent 1fd51d0 commit 055ef0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sumologic/resource_sumologic_cse_match_list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ func resourceSumologicCSEMatchListUpdate(d *schema.ResourceData, meta interface{
242242
log.Printf("[WARN] An error occurred while updating match list item with id: %s, err: %v", item.ID, err3)
243243
}
244244
} else {
245-
err4 := c.CreateCSEMatchListItems(items, d.Id())
245+
err4 := c.CreateCSEMatchListItems([]CSEMatchListItemPost{item}, d.Id())
246246
if err4 != nil {
247-
log.Printf("[WARN] An error occurred while adding match list items to match list id: %s, err: %v", d.Id(), err4)
247+
log.Printf("[WARN] An error occurred while adding match list item to match list id: %s, err: %v", d.Id(), err4)
248248
}
249249
}
250250
}

0 commit comments

Comments
 (0)