Skip to content

Commit ddcb5c1

Browse files
authored
chore: rename pagination options (#585)
Signed-off-by: Miguel Martinez Trivino <[email protected]>
1 parent 674edbb commit ddcb5c1

File tree

14 files changed

+284
-280
lines changed

14 files changed

+284
-280
lines changed

app/cli/internal/action/workflow_run_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (action *WorkflowRunList) Run(opts *WorkflowRunListOpts) (*PaginatedWorkflo
6464
resp, err := client.List(context.Background(),
6565
&pb.WorkflowRunServiceListRequest{
6666
WorkflowId: opts.WorkflowID,
67-
Pagination: &pb.PaginationRequest{
67+
Pagination: &pb.CursorPaginationRequest{
6868
Limit: int32(opts.Pagination.Limit),
6969
Cursor: opts.Pagination.NextCursor,
7070
},

app/controlplane/api/controlplane/v1/pagination.pb.go

Lines changed: 40 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)