diff options
-rw-r--r-- | bridge/core/export.go | 2 | ||||
-rw-r--r-- | bridge/github/client.go | 2 | ||||
-rw-r--r-- | repository/config_mem.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bridge/core/export.go b/bridge/core/export.go index 5bf16801..9a248739 100644 --- a/bridge/core/export.go +++ b/bridge/core/export.go @@ -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 diff --git a/bridge/github/client.go b/bridge/github/client.go index 974c3067..e33b28d4 100644 --- a/bridge/github/client.go +++ b/bridge/github/client.go @@ -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 { diff --git a/repository/config_mem.go b/repository/config_mem.go index 55b12fd7..d9126f39 100644 --- a/repository/config_mem.go +++ b/repository/config_mem.go @@ -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 |