Skip to content

Commit

Permalink
fix: incorrect error message concatenation (#23729)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidby-influx authored Sep 15, 2022
1 parent 80c10c8 commit b17f27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsdb/shard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b17f27a

Please sign in to comment.