From b17f27a5d987585b2277d435797247e45c2898a0 Mon Sep 17 00:00:00 2001 From: davidby-influx <72418212+davidby-influx@users.noreply.github.com> Date: Thu, 15 Sep 2022 09:26:51 -0700 Subject: [PATCH] fix: incorrect error message concatenation (#23729) --- tsdb/shard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/shard.go b/tsdb/shard.go index 5535829f1a..c37eb01246 100644 --- a/tsdb/shard.go +++ b/tsdb/shard.go @@ -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 }