open-nomad/jobspec2
Kris Hicks 554f1e23de
jobspec2: decode returns error in more cases (#9613)
Previously, if decoding the job, tasks, or vault portion of the config
failed, we would not return an error; it was silently ignored.

This also includes a little refactor to reduce some duplication.
2020-12-16 07:49:09 -08:00
..
addrs copy variables files from Packer 2020-11-09 14:35:02 -05:00
hclutil hclv2: handle block labels 2020-10-26 16:24:43 -04:00
test-fixtures hclv2 tests: test complex config configuration 2020-10-26 16:20:41 -04:00
functions.go address review feedback 2020-10-22 11:49:37 -04:00
hcl_conversions.go Restructure Variables and Locals 2020-11-09 14:58:57 -05:00
helper_test.go appease deadcode linter 2020-11-12 11:44:49 -05:00
parse.go jobspec2: decode returns error in more cases (#9613) 2020-12-16 07:49:09 -08:00
parse_job.go appease deadcode linter 2020-11-12 11:44:49 -05:00
parse_map.go Restrict HCL special casing of map[string]interface{} fields 2020-11-12 11:35:39 -05:00
parse_test.go Restrict HCL special casing of map[string]interface{} fields 2020-11-12 11:35:39 -05:00
types.config.go Restrict HCL special casing of map[string]interface{} fields 2020-11-12 11:35:39 -05:00
types.variables.go Apply some suggested fixes from staticcheck (#9598) 2020-12-10 07:29:18 -08:00