From 0e9a171e9de33b3e35ba3a26b726351b93b7f6f3 Mon Sep 17 00:00:00 2001 From: Matt Lord Date: Tue, 19 Sep 2023 10:37:30 -0400 Subject: [PATCH] Minor changes pt2 Signed-off-by: Matt Lord --- go/cmd/vtctldclient/command/vreplication/vdiff/vdiff.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go/cmd/vtctldclient/command/vreplication/vdiff/vdiff.go b/go/cmd/vtctldclient/command/vreplication/vdiff/vdiff.go index 9827d8597b7..162fde8e57c 100644 --- a/go/cmd/vtctldclient/command/vreplication/vdiff/vdiff.go +++ b/go/cmd/vtctldclient/command/vreplication/vdiff/vdiff.go @@ -322,7 +322,7 @@ func commandCreate(cmd *cobra.Command, args []string) error { } else { data = []byte(fmt.Sprintf("VDiff %s scheduled on target shards, use show to view progress", resp.Uuid)) } - fmt.Printf("%s\n", data) + fmt.Println(data) } return nil @@ -585,6 +585,7 @@ func displayShowSingleSummary(format, keyspace, workflowName, uuid string, resp fmt.Println(output) return state, nil } + func buildSingleSummary(keyspace, workflow, uuid string, resp *vtctldatapb.VDiffShowResponse, verbose bool) (*summary, error) { summary := &summary{ Workflow: workflow,