diff --git a/go/logic/throttler.go b/go/logic/throttler.go index 5b5d231fd..929be9ce2 100644 --- a/go/logic/throttler.go +++ b/go/logic/throttler.go @@ -434,7 +434,7 @@ func (this *Throttler) collectGeneralThrottleMetrics() error { return setThrottle(false, "", base.NoThrottleReasonHint) } -// initiateThrottlerMetrics initiates the various processes that collect measurements +// initiateThrottlerCollection initiates the various processes that collect measurements // that may affect throttling. There are several components, all running independently, // that collect such metrics. func (this *Throttler) initiateThrottlerCollection(firstThrottlingCollected chan<- bool) { diff --git a/go/mysql/binlog.go b/go/mysql/binlog.go index 92d832f00..5f52f1d4e 100644 --- a/go/mysql/binlog.go +++ b/go/mysql/binlog.go @@ -19,7 +19,7 @@ type BinlogCoordinates struct { EventSize int64 } -// ParseInstanceKey will parse an InstanceKey from a string representation such as 127.0.0.1:3306 +// ParseBinlogCoordinates will parse an InstanceKey from a string representation such as 127.0.0.1:3306 func ParseBinlogCoordinates(logFileLogPos string) (*BinlogCoordinates, error) { tokens := strings.SplitN(logFileLogPos, ":", 2) if len(tokens) != 2 {