Closed ghost closed 6 years ago
When trying to utilise the JSON output I have issues.
$ CLAIR_ADDR=localhost JSON_OUTPUT=true ./klar-2.0.1-linux-amd64 httpd | jq . parse error: Invalid numeric literal at line 1, column 4
Looking at the output it's a non-json line at the top:
$ CLAIR_ADDR=localhost JSON_OUTPUT=true ./klar-2.0.1-linux-amd64 httpd | head -n1 Got results from Clair API v1
Probably would be good to omit this message or include it into the JSON stream.
Thanks for the report, this message should be removed, sending a patch
@hashmap this is fixed in #87
fixed in 2.0.2, thanks @austbot
When trying to utilise the JSON output I have issues.
Looking at the output it's a non-json line at the top:
Probably would be good to omit this message or include it into the JSON stream.