From 3b49d5e89db9f5265775a9d1f7873c4c191f7f00 Mon Sep 17 00:00:00 2001 From: Gleb Kanterov Date: Wed, 25 Sep 2024 13:19:04 +0200 Subject: [PATCH] Update bundle/config/validate/job_task_cluster_spec.go Co-authored-by: Pieter Noordhuis --- bundle/config/validate/job_task_cluster_spec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/config/validate/job_task_cluster_spec.go b/bundle/config/validate/job_task_cluster_spec.go index 14bd960bb..b80befcdf 100644 --- a/bundle/config/validate/job_task_cluster_spec.go +++ b/bundle/config/validate/job_task_cluster_spec.go @@ -84,7 +84,7 @@ func validateJobTask(rb bundle.ReadOnlyBundle, task jobs.Task, taskPath dyn.Path } else { // path might be not very helpful, adding user-specified task key clarifies the context detail := fmt.Sprintf( - "Task %q requires a cluster or an environment to run. Specify one of the following fields: %s", + "Task %q requires a cluster or an environment to run.\nSpecify one of the following fields: %s.", task.TaskKey, strings.Join(unspecified, ", "), )