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

[incubator-devlake] branch main updated: fix: fix search name (#4422)

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

likyh 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 3f721344d fix: fix search name (#4422)
3f721344d is described below

commit 3f721344dea03ffaeb8e2bcd5391c1a36e54237c
Author: mappjzc <zh...@merico.dev>
AuthorDate: Wed Feb 15 15:19:59 2023 +0800

    fix: fix search name (#4422)
    
    change Name to PathWithNamespace for search
    
    Nddtfjiang <zh...@merico.dev>
---
 backend/plugins/gitlab/api/remote.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/plugins/gitlab/api/remote.go b/backend/plugins/gitlab/api/remote.go
index 6b0754245..4478158ba 100644
--- a/backend/plugins/gitlab/api/remote.go
+++ b/backend/plugins/gitlab/api/remote.go
@@ -335,7 +335,7 @@ func SearchRemoteScopes(input *plugin.ApiResourceInput) (*plugin.ApiResourceOutp
 			Type:     TypeProject,
 			Id:       strconv.Itoa(project.GitlabId),
 			ParentId: nil,
-			Name:     project.Name,
+			Name:     project.PathWithNamespace,
 			Data:     tasks.ConvertProject(&project),
 		}