From d8d368cfbccc2ecba4e6017ec46d1e8de9f158e8 Mon Sep 17 00:00:00 2001 From: Dan Gottlieb Date: Thu, 30 Jan 2025 14:31:20 -0500 Subject: [PATCH] lint --- ftdc/custom_format.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ftdc/custom_format.go b/ftdc/custom_format.go index bde4b3b0a75..40b4e92a917 100644 --- a/ftdc/custom_format.go +++ b/ftdc/custom_format.go @@ -180,7 +180,8 @@ func (ms mapSorter) Swap(left, right int) { ms.values[left], ms.values[right] = ms.values[right], ms.values[left] } -// flattenMap must be passed in a map where the keys are explicitly typed as strings. The values can be any terminal type (e.g: numbers) or more maps of strings +// flattenMap must be passed in a map where the keys are explicitly typed as strings. The values can +// be any terminal type (e.g: numbers) or more maps of strings. func flattenMap(mValue reflect.Value) ([]string, []float32, error) { if mValue.Type().Key().Kind() != reflect.String { // We ignore types we refuse to serialize into ftdc.