@@ -668,11 +668,11 @@ func (r *GitRepositoryReconciler) getAuthOpts(ctx context.Context, obj *sourcev1
668668 }
669669
670670 // Configure provider authentication if specified.
671- var getCreds func () (* authutils .GitCredentials , error )
671+ var getCreds func () (* auth .GitCredentials , error )
672672 switch provider := obj .GetProvider (); provider {
673673 // If other providers (GCP, etc.) are added in the future they can be added here separated by a comma.
674674 case sourcev1 .GitProviderAzure , sourcev1 .GitProviderAWS :
675- getCreds = func () (* authutils .GitCredentials , error ) {
675+ getCreds = func () (* auth .GitCredentials , error ) {
676676 opts := []auth.Option {
677677 auth .WithClient (r .Client ),
678678 auth .WithServiceAccountNamespace (obj .GetNamespace ()),
@@ -730,7 +730,7 @@ func (r *GitRepositoryReconciler) getAuthOpts(ctx context.Context, obj *sourcev1
730730 conditions .MarkTrue (obj , sourcev1 .FetchFailedCondition , e .Reason , "%s" , e )
731731 return nil , e
732732 }
733- getCreds = func () (* authutils .GitCredentials , error ) {
733+ getCreds = func () (* auth .GitCredentials , error ) {
734734 var appOpts []githubapp.OptFunc
735735
736736 appOpts = append (appOpts , githubapp .WithAppData (authMethods .GitHubAppData ))
@@ -752,7 +752,7 @@ func (r *GitRepositoryReconciler) getAuthOpts(ctx context.Context, obj *sourcev1
752752 if err != nil {
753753 return nil , err
754754 }
755- return & authutils .GitCredentials {
755+ return & auth .GitCredentials {
756756 Username : username ,
757757 Password : password ,
758758 }, nil
0 commit comments