diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2024-02-23 15:01:41 +0200 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2024-03-29 17:16:39 +0200 |
| commit | 0f718c963e118139c893e9c52092e278bcd3b396 (patch) | |
| tree | dce61c6695bc3badd455a64767252e6947b32711 /internal/mapr/client | |
| parent | 7a0b0cde9c7c46d5f70ebc4a9d4f4e718d835f70 (diff) | |
lint warnings
Diffstat (limited to 'internal/mapr/client')
| -rw-r--r-- | internal/mapr/client/aggregate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/mapr/client/aggregate.go b/internal/mapr/client/aggregate.go index 1704d43..2e9b61a 100644 --- a/internal/mapr/client/aggregate.go +++ b/internal/mapr/client/aggregate.go @@ -44,7 +44,7 @@ func (a *Aggregate) Aggregate(message string) error { groupKey := parts[0] samples, err := strconv.Atoi(parts[1]) if err != nil { - return fmt.Errorf("unable to parse sample count '%s': %v", parts[1], err) + return fmt.Errorf("unable to parse sample count '%s': %w", parts[1], err) } fields := a.makeFields(parts[2:]) |
