From c2852846f59e8ad695a3963d0db6683288973c8d Mon Sep 17 00:00:00 2001 From: Lance Rushing Date: Thu, 14 Dec 2023 15:31:41 -0800 Subject: [PATCH] Update comment for more clarity Signed-off-by: Lance Rushing --- stores/flatten.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stores/flatten.go b/stores/flatten.go index fd3726fd9..b0e9c06cd 100644 --- a/stores/flatten.go +++ b/stores/flatten.go @@ -230,7 +230,7 @@ func EncodeNewLines(m map[string]interface{}) { } } -// DecodeNonStrings will look for known keys that are not strings and decode to the appropriate type +// DecodeNonStrings will look for known metadata keys that are not strings and decode to the appropriate type func DecodeNonStrings(m map[string]interface{}) { if v, ok := m["mac_only_encrypted"]; ok { m["mac_only_encrypted"] = false @@ -240,7 +240,7 @@ func DecodeNonStrings(m map[string]interface{}) { } } -// EncodeNonStrings will look for known keys that are not strings and will encode it to strings +// EncodeNonStrings will look for known metadata keys that are not strings and will encode it to strings func EncodeNonStrings(m map[string]interface{}) { if v, found := m["mac_only_encrypted"]; found { if vBool, ok := v.(bool); ok {