Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Jul 17, 2024
1 parent 233f38d commit 5d6382a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/bigquery/storagewrite.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ func rowToMessage(row map[string]any, columns []columns.Column, messageDescripto
return nil, err
}
list := message.Mutable(field).List()
for _, value := range values {
list.Append(protoreflect.ValueOfString(value))
for _, val := range values {
list.Append(protoreflect.ValueOfString(val))
}
default:
return nil, fmt.Errorf("unsupported column kind: %q", column.KindDetails.Kind)
Expand Down

0 comments on commit 5d6382a

Please sign in to comment.