keremoge commented on code in PR #9386:
URL: https://github.com/apache/devlake/pull/9386#discussion_r4550400599


##########
backend/plugins/azuredevops_go/api/remote_helper.go:
##########
@@ -260,7 +263,10 @@ func listRemoteRepos(
        _ = g.Wait()
 
        for _, v := range remoteRepos {
-               pID := orgId + idSeparator + projectId
+               pID := projectId
+               if orgId != "" {
+                       pID = orgId + idSeparator + projectId
+               }

Review Comment:
   Fixed. Organization IDs are now cleared before on-premises repository 
discovery, including when parsing legacy organization-prefixed scope IDs. Tests 
verify normalized parent IDs and empty organization IDs for both native and 
external repositories, while preserving Cloud behavior.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to