Skip to content

Commit

Permalink
chore: fix some function names (#1417)
Browse files Browse the repository at this point in the history
Signed-off-by: overallteach <[email protected]>
  • Loading branch information
overallteach authored Jun 2, 2024
1 parent e87e2ab commit 59db6fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go/logic/throttler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion go/mysql/binlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

1 comment on commit 59db6fa

@logcodi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c'bien vraiment

Please sign in to comment.