fix: incorrect error message concatenation (#23729)
parent
80c10c8c04
commit
b17f27a5d9
|
@ -2127,8 +2127,8 @@ func marshalFieldChanges(changeSet ...FieldChanges) ([]byte, error) {
|
|||
for _, f := range fc {
|
||||
fields = append(fields, fmt.Sprintf("%q.%q", f.Measurement, f.Field.Name))
|
||||
}
|
||||
return nil, fmt.Errorf("failed marshaling new fields - %s: %w", strings.Join(fields, ", "), err)
|
||||
}
|
||||
return nil, fmt.Errorf("failed marshaling new fields - %s: %w", strings.Join(fields, ", "), err)
|
||||
}
|
||||
return b, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue