mirror of
https://github.com/harness/drone.git
synced 2025-05-04 14:30:28 +08:00
fix for making imported ADO repos' visibility the same as it's project's visibility (#2179)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into ks/CODE-2073 * removed extra check for azure provider type for importing * fix for making imported ADO repos' visibility the same as it's project's visibility
This commit is contained in:
parent
28b55f0e53
commit
b10fa3ea76
@ -367,7 +367,7 @@ func LoadRepositoriesFromProviderSpace(
|
||||
Space: scmRepo.Namespace,
|
||||
Identifier: scmRepo.Name,
|
||||
CloneURL: scmRepo.Clone,
|
||||
IsPublic: provider.Type != ProviderTypeAzure && !scmRepo.Private,
|
||||
IsPublic: !scmRepo.Private,
|
||||
DefaultBranch: scmRepo.Branch,
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user