Skip to content

Commit cfffb01

Browse files
committed
JSON output: fix disabled "detailedInfo" during flow conversion if "templateInfo" is enabled
1 parent fcb2a58 commit cfffb01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/output/json/src/Storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ Storage::convert(struct fds_drec &rec, const fds_iemgr_t *iemgr, fds_ipfix_msg_h
383383

384384
m_record.size_used = size_t(rc);
385385

386-
if (m_format.detailed_info && !m_format.template_info) {
386+
if (m_format.detailed_info) {
387387
// Remove '}' parenthesis at the end of the record
388388
m_record.size_used--;
389389

0 commit comments

Comments
 (0)