open-nomad/command/agent/config-test-fixtures
Preetha Appan cc07256bb5
Fix json parsing bug with plugins that don't provide args
This fixes a bug with JSON agent configuration parsing where the AST
for the plugin stanza had unnecessary flattening originating from hcl parsing
library. The workaround fixes the AST by popping off the flattened element and wrapping
it in a list. The workaround comes from similar code in terraform.

There were no existing test cases for json parsing so I added a few.
2019-03-28 16:33:30 -05:00
..
basic.hcl Enable json logs 2019-01-11 11:36:37 -08:00
basic.json Fix json parsing bug with plugins that don't provide args 2019-03-28 16:33:30 -05:00
non-optional.hcl Allow to specify total memory on agent configuration 2018-03-27 15:46:18 -05:00
plugin.hcl Fix json parsing bug with plugins that don't provide args 2019-03-28 16:33:30 -05:00
plugin.json Fix json parsing bug with plugins that don't provide args 2019-03-28 16:33:30 -05:00