Skip to content

Commit

Permalink
Set a high limit on the underlying client.Group.ListGroups query. F…
Browse files Browse the repository at this point in the history
…ixes okta#944 (okta#946)
  • Loading branch information
monde authored and virgofx committed Mar 3, 2022
1 parent fa8db80 commit 6863dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion okta/data_source_okta_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func dataSourceGroupsRead(ctx context.Context, d *schema.ResourceData, m interfa
}
q, ok := d.GetOk("q")
if ok {
qp.Limit = 0
qp.Limit = 10000
qp.Q = q.(string)
}
search, ok := d.GetOk("search")
Expand Down

0 comments on commit 6863dcf

Please sign in to comment.