This is an automated email from the ASF dual-hosted git repository.
abeizn 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 16f329efe fix: customize refers to the code of jira (#4936)
16f329efe is described below
commit 16f329efefabd2fef7f2dad72aa5c5efc7c4e8d1
Author: Liang Zhang <[email protected]>
AuthorDate: Fri Apr 14 19:23:27 2023 +0800
fix: customize refers to the code of jira (#4936)
---
backend/plugins/customize/api/blueprint.go | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/backend/plugins/customize/api/blueprint.go
b/backend/plugins/customize/api/blueprint.go
index 6e31c8bd1..09a3cb796 100644
--- a/backend/plugins/customize/api/blueprint.go
+++ b/backend/plugins/customize/api/blueprint.go
@@ -22,7 +22,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/jira/tasks"
_ "github.com/apache/incubator-devlake/server/api/shared"
)
@@ -35,10 +34,7 @@ func MakePipelinePlan(subtaskMetas []plugin.SubTaskMeta,
connectionId uint64, sc
if err != nil {
return nil, errors.Convert(err)
}
- _, err := tasks.DecodeAndValidateTaskOptions(taskOptions)
- if err != nil {
- return nil, err
- }
+
// subtasks
subtasks, err := helper.MakePipelinePlanSubtasks(subtaskMetas,
scopeElem.Entities)
if err != nil {