diff --git a/cmd/argo/commands/archive/resubmit.go b/cmd/argo/commands/archive/resubmit.go index 94408a1a48b2..038bda4a718d 100644 --- a/cmd/argo/commands/archive/resubmit.go +++ b/cmd/argo/commands/archive/resubmit.go @@ -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 diff --git a/cmd/argo/commands/archive/retry.go b/cmd/argo/commands/archive/retry.go index 9a9171f3905a..3eb315d739ba 100644 --- a/cmd/argo/commands/archive/retry.go +++ b/cmd/argo/commands/archive/retry.go @@ -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 { diff --git a/cmd/argo/commands/version.go b/cmd/argo/commands/version.go index cee3b22293a1..9e923bf66b38 100644 --- a/cmd/argo/commands/version.go +++ b/cmd/argo/commands/version.go @@ -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{