Closed FedeDP closed 2 years ago
@ldegio since i reverted a line from your PR; care to give this a look?
To add some context, we tried to run csysdig with all Lua views with and without the line printf("]}\n");
. It seems to always work with that line. What we couldn't figure out is which cases was that commit in #1825 fixing.
Yep; at the moment, it seems like we always print an invalid json. Thanks Luca for pointing it out :)
Signed-off-by: Federico Di Pierro nierro92@gmail.com
Note: this revert part of https://github.com/draios/sysdig/pull/1825: see https://github.com/draios/sysdig/pull/1825#discussion_r781070784.