From 31cc8bf98864c15192845ee6f2349bd0099a71ae Mon Sep 17 00:00:00 2001 From: Tianchu Zhao Date: Mon, 14 Feb 2022 03:27:36 +1100 Subject: [PATCH] fix(cli): fix typo in argo cron error messages (#7875) Signed-off-by: Tianchu Zhao --- cmd/argo/commands/cron/create.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/argo/commands/cron/create.go b/cmd/argo/commands/cron/create.go index 82cf4d915bf2..dc9216dc121c 100644 --- a/cmd/argo/commands/cron/create.go +++ b/cmd/argo/commands/cron/create.go @@ -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)) } @@ -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 }