diff options
Diffstat (limited to 'internal/mapr/client/aggregate.go')
| -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:]) |
