From b1d7c7bdb7840c587f53332aeda7cd8e4940f8b7 Mon Sep 17 00:00:00 2001 From: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com> Date: Wed, 2 Oct 2024 23:57:26 +0530 Subject: [PATCH] Update bundle/config/loader/process_include.go Co-authored-by: Lennart Kats (databricks) --- bundle/config/loader/process_include.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/config/loader/process_include.go b/bundle/config/loader/process_include.go index f190cfa73..7f4a1f4ce 100644 --- a/bundle/config/loader/process_include.go +++ b/bundle/config/loader/process_include.go @@ -61,7 +61,7 @@ func validateSingleResourceDefined(configRoot dyn.Value, ext, typ string) diag.D configRoot, dyn.NewPattern(dyn.Key("targets"), dyn.AnyKey(), dyn.Key("resources"), dyn.AnyKey(), dyn.AnyKey()), func(p dyn.Path, v dyn.Value) (dyn.Value, error) { - // The key for the resource. Eg: "my_job" for jobs.my_job. + // The key for the resource, e.g. "my_job" for jobs.my_job. k := p[4].Key() // The type of the resource. Eg: "job" for jobs.my_job. typ := supportedResources[p[3].Key()].SingularName