open-vault/command/server/test-fixtures/config4.hcl.json
Josh Black e53556130c
Fix JSON encoding adding newlines. (#8928)
Fix JSON encoding adding newlines.

This manifested itself when encoding config values, which all map to
strings. An extra new line would get added by json.Encode, which caused
other things to break with confusing error messagges. Switching to
json.Marshal seems to solve the problem.
2020-05-19 16:13:05 -07:00

21 lines
319 B
JSON

{
"disable_cache": true,
"disable_mlock": true,
"ui":true,
"listener": [{
"tcp": {
"address": "127.0.0.1:8200"
}
}],
"storage": {
"raft": {
"path": "/storage/path/raft",
"node_id": "raft1",
"performance_multiplier": 1,
"foo": "bar",
"baz": true
}
},
"cluster_addr": "127.0.0.1:8201"
}