mirror of https://github.com/databricks/cli.git
Update bundle/config/validate/job_task_cluster_spec.go
Co-authored-by: Pieter Noordhuis <pcnoordhuis@gmail.com>
This commit is contained in:
parent
3a28d20d04
commit
3b49d5e89d
|
@ -84,7 +84,7 @@ func validateJobTask(rb bundle.ReadOnlyBundle, task jobs.Task, taskPath dyn.Path
|
||||||
} else {
|
} else {
|
||||||
// path might be not very helpful, adding user-specified task key clarifies the context
|
// path might be not very helpful, adding user-specified task key clarifies the context
|
||||||
detail := fmt.Sprintf(
|
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,
|
task.TaskKey,
|
||||||
strings.Join(unspecified, ", "),
|
strings.Join(unspecified, ", "),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue