You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2023/02/03 01:20:46 UTC

[incubator-devlake] branch main updated: fix: delete gitlab task in bitbucket (#4295)

This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 5bd960f33 fix: delete gitlab task in bitbucket (#4295)
5bd960f33 is described below

commit 5bd960f33df5d92a620fa90033423078b5dc31a1
Author: Likyh <ya...@meri.co>
AuthorDate: Fri Feb 3 09:20:42 2023 +0800

    fix: delete gitlab task in bitbucket (#4295)
---
 backend/plugins/bitbucket/tasks/pr_commit_collector.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/backend/plugins/bitbucket/tasks/pr_commit_collector.go b/backend/plugins/bitbucket/tasks/pr_commit_collector.go
index 28d49eb88..c8eee20da 100644
--- a/backend/plugins/bitbucket/tasks/pr_commit_collector.go
+++ b/backend/plugins/bitbucket/tasks/pr_commit_collector.go
@@ -21,7 +21,6 @@ import (
 	"github.com/apache/incubator-devlake/core/errors"
 	"github.com/apache/incubator-devlake/core/plugin"
 	helper "github.com/apache/incubator-devlake/helpers/pluginhelper/api"
-	"github.com/apache/incubator-devlake/plugins/gitlab/tasks"
 )
 
 const RAW_PULL_REQUEST_COMMITS_TABLE = "bitbucket_api_pull_request_commits"
@@ -35,7 +34,7 @@ var CollectApiPrCommitsMeta = plugin.SubTaskMeta{
 }
 
 func CollectApiPullRequestCommits(taskCtx plugin.SubTaskContext) errors.Error {
-	rawDataSubTaskArgs, data := tasks.CreateRawDataSubTaskArgs(taskCtx, RAW_PULL_REQUEST_COMMITS_TABLE)
+	rawDataSubTaskArgs, data := CreateRawDataSubTaskArgs(taskCtx, RAW_PULL_REQUEST_COMMITS_TABLE)
 
 	iterator, err := GetPullRequestsIterator(taskCtx)
 	if err != nil {