Skip to content

Commit

Permalink
Revert the changes for explicit embedded struct calling
Browse files Browse the repository at this point in the history
  • Loading branch information
jamlo committed Oct 23, 2024
1 parent d42d027 commit 624dff4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions cmd/cli/job/executions.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ func (o *ExecutionOptions) run(cmd *cobra.Command, args []string, api client.API
response, err := api.Jobs().Executions(ctx, &apimodels.ListJobExecutionsRequest{
JobID: jobID,
BaseListRequest: apimodels.BaseListRequest{
Limit: o.ListOptions.Limit,
NextToken: o.ListOptions.NextToken,
OrderBy: o.ListOptions.OrderBy,
Reverse: o.ListOptions.Reverse,
Limit: o.Limit,
NextToken: o.NextToken,
OrderBy: o.OrderBy,
Reverse: o.Reverse,
},
})
if err != nil {
Expand Down
8 changes: 4 additions & 4 deletions cmd/cli/job/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ func (o *HistoryOptions) run(cmd *cobra.Command, args []string, api client.API)
EventType: o.EventType,
ExecutionID: o.ExecutionID,
BaseListRequest: apimodels.BaseListRequest{
Limit: o.ListOptions.Limit,
NextToken: o.ListOptions.NextToken,
OrderBy: o.ListOptions.OrderBy,
Reverse: o.ListOptions.Reverse,
Limit: o.Limit,
NextToken: o.NextToken,
OrderBy: o.OrderBy,
Reverse: o.Reverse,
},
})
if err != nil {
Expand Down
8 changes: 4 additions & 4 deletions cmd/cli/job/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ func (o *ListOptions) run(cmd *cobra.Command, api client.API) error {
response, err := api.Jobs().List(ctx, &apimodels.ListJobsRequest{
Labels: labelRequirements,
BaseListRequest: apimodels.BaseListRequest{
Limit: o.ListOptions.Limit,
NextToken: o.ListOptions.NextToken,
OrderBy: o.ListOptions.OrderBy,
Reverse: o.ListOptions.Reverse,
Limit: o.Limit,
NextToken: o.NextToken,
OrderBy: o.OrderBy,
Reverse: o.Reverse,
},
})
if err != nil {
Expand Down
8 changes: 4 additions & 4 deletions cmd/cli/node/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ func (o *ListOptions) run(cmd *cobra.Command, api client.API) error {
FilterByApproval: o.FilterByApproval,
FilterByStatus: o.FilterByStatus,
BaseListRequest: apimodels.BaseListRequest{
Limit: o.ListOptions.Limit,
NextToken: o.ListOptions.NextToken,
OrderBy: o.ListOptions.OrderBy,
Reverse: o.ListOptions.Reverse,
Limit: o.Limit,
NextToken: o.NextToken,
OrderBy: o.OrderBy,
Reverse: o.Reverse,
},
})
if err != nil {
Expand Down

0 comments on commit 624dff4

Please sign in to comment.