Skip to content

Commit 59db6fa

Browse files
authored
chore: fix some function names (#1417)
Signed-off-by: overallteach <[email protected]>
1 parent e87e2ab commit 59db6fa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go/logic/throttler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ func (this *Throttler) collectGeneralThrottleMetrics() error {
434434
return setThrottle(false, "", base.NoThrottleReasonHint)
435435
}
436436

437-
// initiateThrottlerMetrics initiates the various processes that collect measurements
437+
// initiateThrottlerCollection initiates the various processes that collect measurements
438438
// that may affect throttling. There are several components, all running independently,
439439
// that collect such metrics.
440440
func (this *Throttler) initiateThrottlerCollection(firstThrottlingCollected chan<- bool) {

go/mysql/binlog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type BinlogCoordinates struct {
1919
EventSize int64
2020
}
2121

22-
// ParseInstanceKey will parse an InstanceKey from a string representation such as 127.0.0.1:3306
22+
// ParseBinlogCoordinates will parse an InstanceKey from a string representation such as 127.0.0.1:3306
2323
func ParseBinlogCoordinates(logFileLogPos string) (*BinlogCoordinates, error) {
2424
tokens := strings.SplitN(logFileLogPos, ":", 2)
2525
if len(tokens) != 2 {

0 commit comments

Comments
 (0)