From b10fa3ea76b5349b085a62f55415f038cfd9727f Mon Sep 17 00:00:00 2001 From: Karan Saraswat Date: Mon, 8 Jul 2024 18:39:48 +0000 Subject: [PATCH] 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 --- app/services/importer/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/importer/provider.go b/app/services/importer/provider.go index 54501627e6..678649751b 100644 --- a/app/services/importer/provider.go +++ b/app/services/importer/provider.go @@ -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, }) }