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

abeizn pushed a commit to branch fix-nil-scope-config
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit 7f1ac9047914dc297ebea886539b2891103f348b
Author: abeizn <[email protected]>
AuthorDate: Mon Nov 13 17:45:59 2023 +0800

    fix: no entities specified, use all entities enabled by default
---
 backend/helpers/pluginhelper/api/pipeline_plan.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/backend/helpers/pluginhelper/api/pipeline_plan.go 
b/backend/helpers/pluginhelper/api/pipeline_plan.go
index c1138c6db..ce920b168 100644
--- a/backend/helpers/pluginhelper/api/pipeline_plan.go
+++ b/backend/helpers/pluginhelper/api/pipeline_plan.go
@@ -19,6 +19,7 @@ package api
 
 import (
        "fmt"
+
        "github.com/apache/incubator-devlake/core/errors"
        plugin "github.com/apache/incubator-devlake/core/plugin"
        "github.com/apache/incubator-devlake/core/utils"
@@ -27,7 +28,7 @@ import (
 // MakePipelinePlanSubtasks generates subtasks list based on sub-task meta 
information and entities wanted by user
 func MakePipelinePlanSubtasks(subtaskMetas []plugin.SubTaskMeta, entities 
[]string) ([]string, errors.Error) {
        subtasks := make([]string, 0)
-       // if no entities specified, use all subtasks enabled by default
+       // if no entities specified, use all entities enabled by default
        if len(entities) == 0 {
                entities = plugin.DOMAIN_TYPES
        }

Reply via email to