cri-o/cmd/kpod/formats
baude 3907e0d346 Return Valid JSON for empty data
For commands that ask for JSON results, if the input to the Go JSON
marshaller is empty, it will return a byte array with a literal
"null" in it.  If that is the case, we should output [] instead
as at least that is valid JSON and will not break consumers of the
data.

Signed-off-by: baude <bbaude@redhat.com>
2017-10-11 13:28:18 -05:00
..
formats.go Return Valid JSON for empty data 2017-10-11 13:28:18 -05:00
templates.go *: fix lint issues 2017-08-22 17:32:18 +02:00