Skip to content

Commit

Permalink
Update bundle/config/loader/process_include.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lennart Kats (databricks) <[email protected]>
  • Loading branch information
shreyas-goenka and lennartkats-db authored Oct 2, 2024
1 parent b288b07 commit b1d7c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/config/loader/process_include.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1d7c7b

Please sign in to comment.