open-nomad/jobspec2
Tim Gross daf1c8a0f6 hcl2: avoid panic on unset variable
Variables that are unset return the correct diagnostic but throw a panic when
we later parse the job body. Return early if there are any variable parsing
errors instead of continuing in a potentially invalid state.
2021-02-18 10:48:56 -05:00
..
addrs
hclutil
test-fixtures
functions.go
hcl_conversions.go tests: add tests for invalid syntax cases 2021-02-01 12:51:51 -05:00
helper_test.go
parse.go
parse_job.go
parse_map.go
parse_test.go hcl2: avoid panic on unset variable 2021-02-18 10:48:56 -05:00
types.config.go hcl2: avoid panic on unset variable 2021-02-18 10:48:56 -05:00
types.variables.go