diff --git a/Makefile b/Makefile index 4e0c2f578535e..12282d6f0749a 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ check-static: tools/bin/golangci-lint GO111MODULE=on CGO_ENABLED=0 tools/bin/golangci-lint run -v $$($(PACKAGE_DIRECTORIES)) --config .golangci.yml unconvert:tools/bin/unconvert - @echo "unconvert check(skip check the genenrated or copied code in lightning)" + @echo "unconvert check(skip check the generated or copied code in lightning)" @GO111MODULE=on tools/bin/unconvert $(UNCONVERT_PACKAGES) gogenerate: diff --git a/telemetry/data_slow_query.go b/telemetry/data_slow_query.go index baf0d2e60bd6a..e32940e09be6a 100644 --- a/telemetry/data_slow_query.go +++ b/telemetry/data_slow_query.go @@ -72,7 +72,7 @@ func getSlowQueryStats(ctx sessionctx.Context) (*slowQueryStats, error) { return &slowQueryStats{slowQueryBucket}, nil } -// getSlowQueryBucket genenrates the delta SlowQueryBucket to report +// getSlowQueryBucket generates the delta SlowQueryBucket to report func getSlowQueryBucket(ctx sessionctx.Context) (*SlowQueryBucket, error) { // update currentSQBInfo first, then gen delta if err := updateCurrentSQB(ctx); err != nil {