Skip to content

Commit 0abee9a

Browse files
authored
Merge pull request #377 from SumoLogic/INVS-278_fix_cse_match_list
INVS-278: Fix CSE match list
2 parents 793a43d + b7e780f commit 0abee9a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## 2.16.0 (Unreleased)
22

3+
## 2.15.1 (Unreleased)
4+
5+
BUG FIXES:
6+
* Fix bug in cse match list items creation (was timing out due to StateChangeConf on an infinite loop) (GH-377)
37

48
## 2.15.0 (May 13, 2022)
59

sumologic/sumologic_cse_match_list_item.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ func (s *Client) GetCSEMatchListItem(id string) (*CSEMatchListItemGet, error) {
2525
}
2626

2727
func (s *Client) GetCSEMatchListItemsInMatchList(MatchListId string) (*CSEMatchListItemsInMatchListGet, error) {
28-
29-
data, _, err := s.Get(fmt.Sprintf("sec/v1/match-list-items?listIds[%s]", MatchListId))
28+
data, _, err := s.Get(fmt.Sprintf("sec/v1/match-list-items?listIds=%s", MatchListId))
3029
if err != nil {
3130
return nil, err
3231
}

0 commit comments

Comments
 (0)