Skip to content

Commit

Permalink
fix: rename parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Oct 24, 2024
1 parent 13a231a commit b768027
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/kubectl-testkube/commands/testworkflows/executions.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ func NewGetTestWorkflowExecutionsCmd() *cobra.Command {
cmd.Flags().StringSliceVarP(&selectors, "label", "l", nil, "label key value pair: --label key1=value1")
cmd.Flags().BoolVar(&logsOnly, "logs-only", false, "show only execution logs")
cmd.Flags().StringSliceVarP(&tags, "tag", "", nil, "tag key value pair: --tag key1=value1")
cmd.Flags().StringVarP(&actorName, "actorName", "", "", "test workflow running context actor name")
cmd.Flags().StringVarP(&actorType, "actorType", "", "", "test workflow running context actor type one of cron|testtrigger|user|testworkfow|testworkflowexecution|program")
cmd.Flags().StringVarP(&actorName, "actor-name", "", "", "test workflow running context actor name")
cmd.Flags().StringVarP(&actorType, "actor-type", "", "", "test workflow running context actor type one of cron|testtrigger|user|testworkfow|testworkflowexecution|program")

return cmd
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/api/v1/client/testworkflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ func (c TestWorkflowClient) ListTestWorkflowExecutions(id string, limit int, opt
"selector": options.Selector,
"pageSize": fmt.Sprintf("%d", limit),
"tagSelector": options.TagSelector,
"actionName": options.ActorName,
"actionType": string(options.ActorType),
"actorName": options.ActorName,
"actorType": string(options.ActorType),
}
return c.testWorkflowExecutionsResultTransport.Execute(http.MethodGet, uri, nil, params)
}
Expand Down

0 comments on commit b768027

Please sign in to comment.