mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
The HCL2 parser needs to apply special parsing tweaks so it can parse
the task config the same way as HCL1. Particularly, it needs to
reinterprets `map[string]interface{}` fields and blocks that appear when
attributes are expected.
This commit restricts the special casing to the Job fields, and ignore
`variables` and `locals` block.
4.4 KiB
4.4 KiB