From 93ddc4aac5959f32a2f0fad5a4652d7d88ddef9c Mon Sep 17 00:00:00 2001 From: Tomer Zait Date: Sat, 4 Jan 2020 15:16:54 +0200 Subject: [PATCH] fix: base64 (issue #987) For the people who uses the -b or --print-base64 command argument, "s_inspector->set_buffer_format(sinsp_evt::PF_NORMAL);" will restore the state to normal dot escaped string instead of base64 (that they chose....). Co-authored-by: Leonardo Di Donato Signed-off-by: Leonardo Di Donato --- userspace/engine/formats.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/userspace/engine/formats.cpp b/userspace/engine/formats.cpp index b95a78c2eaf..91690167486 100644 --- a/userspace/engine/formats.cpp +++ b/userspace/engine/formats.cpp @@ -177,8 +177,6 @@ int falco_formats::format_event (lua_State *ls) { json_line.erase(0, 1); } - - s_inspector->set_buffer_format(sinsp_evt::PF_NORMAL); } } catch (sinsp_exception& e)