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 6ff19c9 commit edb6e77Copy full SHA for edb6e77
go/cmd/vtctldclient/command/vreplication/vdiff/vdiff.go
@@ -462,7 +462,6 @@ func getStructFieldNames(s any) []string {
462
}
463
464
func buildListings(listings []*listing) string {
465
- var values []string
466
var lines [][]string
467
var result string
468
@@ -474,6 +473,7 @@ func buildListings(listings []*listing) string {
474
473
// The header is the first row.
475
lines = append(lines, fields)
476
for _, listing := range listings {
+ var values []string
477
v := reflect.ValueOf(*listing)
478
for _, field := range fields {
479
values = append(values, v.FieldByName(field).String())
0 commit comments