Skip to content

Commit

Permalink
Merge pull request #1150 from dockercui/master
Browse files Browse the repository at this point in the history
Fix some comments
  • Loading branch information
MichaelMure committed Apr 24, 2024
2 parents c82881c + e256cde commit 6d051a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bridge/core/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
ExportEventComment
// Comment has been edited on the remote tracker
ExportEventCommentEdition
// Bug's status has been changed on on the remote tracker
// Bug's status has been changed on the remote tracker
ExportEventStatusChange
// Bug's title has been changed on the remote tracker
ExportEventTitleEdition
Expand Down
2 changes: 1 addition & 1 deletion bridge/github/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (c *rateLimitHandlerClient) queryImport(ctx context.Context, query interfac
return c.callAPIAndRetry(ctx, queryFun, callback)
}

// queryImport calls the github api with a graphql query, and sends a core.ExportResult for each rate limiting event
// queryExport calls the github api with a graphql query, and sends a core.ExportResult for each rate limiting event
func (c *rateLimitHandlerClient) queryExport(ctx context.Context, query interface{}, vars map[string]interface{}, out chan<- core.ExportResult) error {
// prepare a closure for the query
queryFun := func(ctx context.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion repository/config_mem.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (mc *MemConfig) ReadTimestamp(key string) (time.Time, error) {
return time.Unix(int64(timestamp), 0), nil
}

// RmConfigs remove all key/value pair matching the key prefix
// RemoveAll remove all key/value pair matching the key prefix
func (mc *MemConfig) RemoveAll(keyPrefix string) error {
keyPrefix = normalizeKey(keyPrefix)
found := false
Expand Down

0 comments on commit 6d051a2

Please sign in to comment.