diff --git a/go/vt/vtadmin/http/tablets.go b/go/vt/vtadmin/http/tablets.go index 5e819ce945b..d6c8ba788b5 100644 --- a/go/vt/vtadmin/http/tablets.go +++ b/go/vt/vtadmin/http/tablets.go @@ -212,7 +212,7 @@ func StartReplication(ctx context.Context, r Request, api *API) *JSONResponse { return NewJSONResponse(result, err) } -// StartReplication stops replication on the specified tablet. +// StopReplication stops replication on the specified tablet. func StopReplication(ctx context.Context, r Request, api *API) *JSONResponse { vars := r.Vars() diff --git a/go/vt/vtgate/engine/fuzz.go b/go/vt/vtgate/engine/fuzz.go index 13dac3a99d4..5d00ed2db23 100644 --- a/go/vt/vtgate/engine/fuzz.go +++ b/go/vt/vtgate/engine/fuzz.go @@ -80,7 +80,7 @@ func execUpdate(f *fuzz.ConsumeFuzzer) { _, _ = upd.TryExecute(ctx, vc, map[string]*querypb.BindVariable{}, false) } -// execUpdate implements a wrapper to fuzz Insert.Tryexecute() +// execInsert implements a wrapper to fuzz Insert.Tryexecute() func execInsert(f *fuzz.ConsumeFuzzer) { ins := &Insert{} err := f.GenerateStruct(ins) @@ -91,7 +91,7 @@ func execInsert(f *fuzz.ConsumeFuzzer) { _, _ = ins.TryExecute(ctx, vc, map[string]*querypb.BindVariable{}, false) } -// execUpdate implements a wrapper to fuzz Route.Tryexecute() +// execRoute implements a wrapper to fuzz Route.Tryexecute() func execRoute(f *fuzz.ConsumeFuzzer) { sel := &Route{} err := f.GenerateStruct(sel) diff --git a/go/vt/vtgate/plugin_mysql_server.go b/go/vt/vtgate/plugin_mysql_server.go index c0b2fe38b56..175f4b2cc8f 100644 --- a/go/vt/vtgate/plugin_mysql_server.go +++ b/go/vt/vtgate/plugin_mysql_server.go @@ -487,7 +487,7 @@ func initTLSConfig(ctx context.Context, srv *mysqlServer, mysqlSslCert, mysqlSsl return nil } -// initiMySQLProtocol starts the mysql protocol. +// initMySQLProtocol starts the mysql protocol. // It should be called only once in a process. func initMySQLProtocol(vtgate *VTGate) *mysqlServer { // Flag is not set, just return.