You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then running the following command: jsonnet -m . example3.jsonnet, the files generated are not valid as each file is encapsulated inside of json string:
--multi produces one file per field, following the default manifestification format (json serialization)
In theory, this may be fixed by specifying the inner document format (I.e jsonnet -m . -S example3.jsonnet), however, standard jsonnet implementation doesn't allows to combine --multi and any other manifestification flag
When using the
example3.jsonnet
found on the jsonnet.org home page:then running the following command:
jsonnet -m . example3.jsonnet
, the files generated are not valid as each file is encapsulated inside of json string:init.sh:
cassandra.conf:
uwsgi.ini:
Tested both jsonnet and go-jsonnet, both v0.19.1, and jsonnet 0.18.0 with the same results.
I am not sure if this is the expected output since you would need to use another tool, like
jq
, to parse and rewrite the file.The text was updated successfully, but these errors were encountered: