Previous code and tests did not reflect actual users input and expected
output.
Add remaining compatibilty golang template funcs
- json
- pad
- truncate
https://bugzilla.redhat.com/show_bug.cgi?id=1922077Fixes#8702
Signed-off-by: Jhon Honce <jhonce@redhat.com>
* Always Normalize --format value
* Additionaly fixed case where {{range}} with embedded \n caused
double \n\n on output
* Updated tests to cover these cases
Signed-off-by: Jhon Honce <jhonce@redhat.com>
From https://github.com/containers/podman/commit/ac8e6c99103e
faith/camelcase has been archived and is no longer maintained.
The package is sufficiently small and self-contained enough to
maintain it in libpod.[sic]
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>