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 <[email protected]>
AuthorDate: Wed Feb 15 15:19:59 2023 +0800

    fix: fix search name (#4422)
    
    change Name to PathWithNamespace for search
    
    Nddtfjiang <[email protected]>
---
 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),
                }
 

Reply via email to