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
hclutil
test-fixtures
functions.go
hcl_conversions.go
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
parse_test.go
types.config.go
types.variables.go Apply some suggested fixes from staticcheck (#9598) 2020-12-10 07:29:18 -08:00