From e256cdec58e50e25a3bca3223d425499d9e0d702 Mon Sep 17 00:00:00 2001 From: dockercui Date: Wed, 24 Apr 2024 10:47:28 +0800 Subject: Fix some comments Signed-off-by: dockercui --- bridge/core/export.go | 2 +- bridge/github/client.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bridge') 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 { -- cgit