From 31539f00a2d799189a497a32fa3ee3583992ddfc Mon Sep 17 00:00:00 2001 From: Rohit Nayak Date: Thu, 2 Nov 2023 17:13:23 +0100 Subject: [PATCH] Minor mods Signed-off-by: Rohit Nayak --- go/vt/vttablet/tabletmanager/vdiff/action.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/vt/vttablet/tabletmanager/vdiff/action.go b/go/vt/vttablet/tabletmanager/vdiff/action.go index 897cf5825f9..59ee79077f7 100644 --- a/go/vt/vttablet/tabletmanager/vdiff/action.go +++ b/go/vt/vttablet/tabletmanager/vdiff/action.go @@ -48,7 +48,7 @@ const ( AllActionArg = "all" LastActionArg = "last" - allVDiffsCount = 100 + maxVDiffsToReport = 100 ) var ( @@ -327,7 +327,7 @@ func (vde *Engine) handleShowAction(ctx context.Context, dbClient binlogplayer.D query, err := sqlparser.ParseAndBind(sqlGetMostRecentVDiffByKeyspaceWorkflow, sqltypes.StringBindVariable(req.Keyspace), sqltypes.StringBindVariable(req.Workflow), - sqltypes.Int64BindVariable(allVDiffsCount), + sqltypes.Int64BindVariable(maxVDiffsToReport), ) if err != nil { return err