We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
show
1 parent d406270 commit 6e1a252Copy full SHA for 6e1a252
go/cmd/vtctldclient/command/vreplication/vdiff/vdiff.go
@@ -455,7 +455,6 @@ func getStructFieldNames(s any) []string {
455
}
456
457
func buildListings(listings []*listing) string {
458
- var values []string
459
var lines [][]string
460
var result string
461
@@ -467,6 +466,7 @@ func buildListings(listings []*listing) string {
467
466
// The header is the first row.
468
lines = append(lines, fields)
469
for _, listing := range listings {
+ var values []string
470
v := reflect.ValueOf(*listing)
471
for _, field := range fields {
472
values = append(values, v.FieldByName(field).String())
0 commit comments