Skip to content

Commit

Permalink
chore: fix function comments (argoproj#12838)
Browse files Browse the repository at this point in the history
Signed-off-by: majorteach <[email protected]>
  • Loading branch information
majorteach authored Mar 24, 2024
1 parent a719d94 commit e000364
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/argo/commands/archive/resubmit.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func NewResubmitCommand() *cobra.Command {
return command
}

// resubmitWorkflows resubmits workflows by given resubmitOpts or workflow names
// resubmitArchivedWorkflows resubmits workflows by given resubmitOpts or workflow names
func resubmitArchivedWorkflows(ctx context.Context, archiveServiceClient workflowarchivepkg.ArchivedWorkflowServiceClient, serviceClient workflowpkg.WorkflowServiceClient, resubmitOpts resubmitOps, cliSubmitOpts common.CliSubmitOpts, args []string) error {
var (
wfs wfv1.Workflows
Expand Down
2 changes: 1 addition & 1 deletion cmd/argo/commands/archive/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func NewRetryCommand() *cobra.Command {
return command
}

// retryWorkflows retries workflows by given retryArgs or workflow names
// retryArchivedWorkflows retries workflows by given retryArgs or workflow names
func retryArchivedWorkflows(ctx context.Context, archiveServiceClient workflowarchivepkg.ArchivedWorkflowServiceClient, serviceClient workflowpkg.WorkflowServiceClient, retryOpts retryOps, cliSubmitOpts common.CliSubmitOpts, args []string) error {
selector, err := fields.ParseSelector(retryOpts.nodeFieldSelector)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/argo/commands/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
cmdutil "github.com/argoproj/argo-workflows/v3/util/cmd"
)

// NewVersionCmd returns a new `version` command to be used as a sub-command to root
// NewVersionCommand returns a new `version` command to be used as a sub-command to root
func NewVersionCommand() *cobra.Command {
var short bool
cmd := cobra.Command{
Expand Down

0 comments on commit e000364

Please sign in to comment.