Skip to content

Commit

Permalink
Update zio/csvio/writer.go
Browse files Browse the repository at this point in the history
Co-authored-by: Noah Treuhaft <[email protected]>
  • Loading branch information
mattnibs and nwt authored Nov 22, 2023
1 parent dc95dd8 commit 85a5193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zio/csvio/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func formatValue(typ zed.Type, bytes zcode.Bytes) string {
return zson.FormatValue(zed.NewValue(typ, bytes))
}

func fieldsEqual(a, b []zed.Field) bool {
func fieldNamesEqual(a, b []zed.Field) bool {
return slices.EqualFunc(a, b, func(a, b zed.Field) bool {
return a.Name == b.Name
})
Expand Down

0 comments on commit 85a5193

Please sign in to comment.