Skip to content

Commit

Permalink
Merge pull request #4676 from dweitzman/getvschema_json_pb_format
Browse files Browse the repository at this point in the history
Use jsonpb marshaling for vtctl's GetVSchema
  • Loading branch information
dweitzman authored Feb 27, 2019
2 parents 667eb19 + 261b341 commit 8316f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtctl/vtctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -2108,7 +2108,7 @@ func commandGetVSchema(ctx context.Context, wr *wrangler.Wrangler, subFlags *fla
if err != nil {
return err
}
b, err := json.MarshalIndent(schema, "", " ")
b, err := json2.MarshalIndentPB(schema, " ")
if err != nil {
wr.Logger().Printf("%v\n", err)
return err
Expand Down

0 comments on commit 8316f8f

Please sign in to comment.