Skip to content

Commit

Permalink
fix: adjust help
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
  • Loading branch information
vsukhin committed Nov 29, 2024
1 parent 3768550 commit c2fd448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kubectl-testkube/commands/testworkflows/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func NewRunTestWorkflowCmd() *cobra.Command {
cmd.Flags().StringToStringVarP(&tags, "tag", "", map[string]string{}, "execution tags in a form of name1=val1 passed to executor")
cmd.Flags().StringSliceVarP(&selectors, "label", "l", nil, "label key value pair: --label key1=value1 or label expression")
cmd.Flags().StringVar(&serviceName, "service-name", "", "test workflow service name")
cmd.Flags().IntVar(&serviceIndex, "service-index", 0, "test workflow service index")
cmd.Flags().IntVar(&serviceIndex, "service-index", 0, "test workflow service index starting from 0")

return cmd
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubectl-testkube/commands/testworkflows/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func NewWatchTestWorkflowExecutionCmd() *cobra.Command {
}

cmd.Flags().StringVar(&serviceName, "service-name", "", "test workflow service name")
cmd.Flags().IntVar(&serviceIndex, "service-index", 0, "test workflow service index")
cmd.Flags().IntVar(&serviceIndex, "service-index", 0, "test workflow service index starting from 0")

return cmd
}

0 comments on commit c2fd448

Please sign in to comment.