Skip to content

Commit

Permalink
WIP. Add comment
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Dec 24, 2024
1 parent db948da commit 052a8aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cmd/get/packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func printPackages(ctx context.Context, outWriter io.Writer, kubeClient client.C
if cp.Status.GitRepositoryRefs != nil {
newPackage.GitRepository = cp.Spec.InternalGitServeURL + "/" + v1alpha1.GiteaAdminUserName + "/" + idpbuilderNamespace + "-" + cp.Status.GitRepositoryRefs[0].Name
} else {
// Default branch reference
ref := "main"
if cp.Spec.RemoteRepository.Ref != "" {
ref = cp.Spec.RemoteRepository.Ref
Expand Down

0 comments on commit 052a8aa

Please sign in to comment.