Skip to content

Commit

Permalink
fix(cli): fix typo in argo cron error messages (#7875)
Browse files Browse the repository at this point in the history
Signed-off-by: Tianchu Zhao <evantczhao@gmail.com>
  • Loading branch information
tczhao committed Feb 13, 2022
1 parent 87cb155 commit 31cc8bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/argo/commands/cron/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func CreateCronWorkflows(ctx context.Context, filePaths []string, cliOpts *cliCr
CronWorkflow: &cronWf,
})
if err != nil {
log.Fatalf("Failed to create workflow template: %v", err)
log.Fatalf("Failed to create cron workflow: %v", err)
}
fmt.Print(getCronWorkflowGet(created))
}
Expand All @@ -122,6 +122,6 @@ func unmarshalCronWorkflows(wfBytes []byte, strict bool) []wfv1.CronWorkflow {
if err == nil {
return yamlWfs
}
log.Fatalf("Failed to parse workflow template: %v", err)
log.Fatalf("Failed to parse cron workflow: %v", err)
return nil
}

0 comments on commit 31cc8bf

Please sign in to comment.