Skip to content

Commit

Permalink
Revert some gitlab permanent error checks introduced in PR #315 for s…
Browse files Browse the repository at this point in the history
…imple build (#317)
  • Loading branch information
mmorhun authored Jun 21, 2024
1 parent 41cebd9 commit 463f4e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions controllers/component_build_controller_simple_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,6 @@ func (r *ComponentBuildReconciler) getBuildGitInfo(ctx context.Context, componen
return nil, err
}

// getting branch just to test credentials
_, err = gitClient.GetDefaultBranch(repoUrl)
if err != nil {
return nil, err
}

var gitSecretName string
isPublic, err := gitClient.IsRepositoryPublic(repoUrl)
if err != nil {
Expand Down

0 comments on commit 463f4e0

Please sign in to comment.