aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/client.go
diff options
context:
space:
mode:
authordockercui <dockercui@aliyun.com>2024-04-24 10:47:28 +0800
committerdockercui <dockercui@aliyun.com>2024-04-24 10:47:28 +0800
commite256cdec58e50e25a3bca3223d425499d9e0d702 (patch)
tree72139c0be41db1cf174c083e4adfc6170ffa26f5 /bridge/github/client.go
parentc82881c0c72149902370a06ccdd0b784c192169e (diff)
downloadgit-bug-e256cdec58e50e25a3bca3223d425499d9e0d702.tar.gz
Fix some comments
Signed-off-by: dockercui <dockercui@aliyun.com>
Diffstat (limited to 'bridge/github/client.go')
-rw-r--r--bridge/github/client.go2
1 files changed, 1 insertions, 1 deletions
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 {