Skip to content

Commit

Permalink
fix for making imported ADO repos' visibility the same as it's projec…
Browse files Browse the repository at this point in the history
…t's visibility (harness#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
  • Loading branch information
karansaraswat19 authored and Harness committed Jul 8, 2024
1 parent 28b55f0 commit b10fa3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/importer/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
}
Expand Down

0 comments on commit b10fa3e

Please sign in to comment.