Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kispaljr committed Aug 6, 2024
1 parent 4889bb6 commit 6b6b0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func OpenRepository(ctx context.Context, name, namespace string, spec *configapi
return nil, fmt.Errorf("error cloning git repository %q, cannot create remote: %v", spec.Repo, err)
}

// NOTE: the spec.git.branch field in the Repository CRD (OpenAPI schema) defined with
// NOTE: the spec.git.branch field in the Repository CRD (OpenAPI schema) is defined with
// MinLength=1 validation and its default value is set to "main". This means that
// it should never be empty at this point. The following code is left here as a last resort failsafe.
branch := MainBranch
Expand Down

0 comments on commit 6b6b0d0

Please sign in to comment.