Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dgottlieb committed Jan 30, 2025
1 parent 3684410 commit d8d368c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ftdc/custom_format.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d8d368c

Please sign in to comment.