Fix some comments

dockercui created

Signed-off-by: dockercui <dockercui@aliyun.com>

Change summary

bridge/core/export.go    | 2 +-
bridge/github/client.go  | 2 +-
repository/config_mem.go | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

Detailed changes

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

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 {

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