File tree Expand file tree Collapse file tree
backend/helpers/pluginhelper/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ package api
1919
2020import (
2121 "fmt"
22+
2223 "github.com/apache/incubator-devlake/core/errors"
2324 plugin "github.com/apache/incubator-devlake/core/plugin"
2425 "github.com/apache/incubator-devlake/core/utils"
@@ -27,8 +28,9 @@ import (
2728// MakePipelinePlanSubtasks generates subtasks list based on sub-task meta information and entities wanted by user
2829func MakePipelinePlanSubtasks (subtaskMetas []plugin.SubTaskMeta , entities []string ) ([]string , errors.Error ) {
2930 subtasks := make ([]string , 0 )
31+ // if no entities specified, use all entities enabled by default
3032 if len (entities ) == 0 {
31- return subtasks , nil
33+ entities = plugin . DOMAIN_TYPES
3234 }
3335 wanted := make (map [string ]bool , len (entities ))
3436 for _ , entity := range entities {
You can’t perform that action at this time.
0 commit comments