From 91296f4dd20759c3213a51af5a6262d2a749deee Mon Sep 17 00:00:00 2001 From: Simon Let Date: Fri, 13 Sep 2019 02:31:19 +0200 Subject: [PATCH] hide postprocessing fields from record, bump version --- common/resh-common.go | 8 ++++---- version | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/resh-common.go b/common/resh-common.go index 1499595..7e91094 100644 --- a/common/resh-common.go +++ b/common/resh-common.go @@ -71,12 +71,12 @@ type Record struct { // added by sanitizatizer Sanitized bool `json:"sanitized"` - CmdLength int `json:"cmdLength"` + CmdLength int `json:"cmdLength,omitempty"` // enriching fields - added "later" - FirstWord string `json:"firstWord"` - Invalid bool `json:"invalid"` - SeqSessionID uint64 `json:"seqSessionID"` + FirstWord string `json:"firstWord,omitempty"` + Invalid bool `json:"invalid,omitempty"` + SeqSessionID uint64 `json:"seqSessionID,omitempty"` } // FallbackRecord when record is too old and can't be parsed into regular Record diff --git a/version b/version index 45a1b3f..781dcb0 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.1.2 +1.1.3