Skip to content

Commit

Permalink
remove the default resource list limit
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <[email protected]>
  • Loading branch information
skeeey committed Jun 14, 2024
1 parent df9a3ac commit dd924ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/client/cloudevents/grpcsource/watcherstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ func (m *RESTFulAPIWatcherStore) List(opts metav1.ListOptions) ([]*workv1.Manife
works := []*workv1.ManifestWork{}

apiRequest := m.apiClient.DefaultApi.ApiMaestroV1ResourceBundlesGet(context.Background()).
Search(fmt.Sprintf("source = '%s'", m.sourceID))
Search(fmt.Sprintf("source = '%s'", m.sourceID)).
Page(1).
Size(-1)

// TODO filter works by labels

Expand Down

0 comments on commit dd924ea

Please sign in to comment.