Skip to content

Commit

Permalink
Fix up comments after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
liamfallon committed Nov 5, 2024
1 parent bc0845b commit 2293efb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ spec:
description: User-friendly description of the repository
type: string
git:
description: OCI repository details. Required if `type` is `oci`.
Ignored if `type` is not `oci`.
description: Git repository details. Required if `type` is `git`.
Ignored if `type` is not `git`.
properties:
branch:
default: main
Expand Down
4 changes: 2 additions & 2 deletions api/porchconfig/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type RepositorySpec struct {

// DB repository details. Required if `type` is `db`. Ignored if `type` is not `db`.
DB *DBRepository `json:"db,omitempty"`
// OCI repository details. Required if `type` is `oci`. Ignored if `type` is not `oci`.
// Git repository details. Required if `type` is `git`. Ignored if `type` is not `git`.
Git *GitRepository `json:"git,omitempty"`
// OCI repository details. Required if `type` is `oci`. Ignored if `type` is not `oci`.
Oci *OciRepository `json:"oci,omitempty"`
Expand Down Expand Up @@ -143,7 +143,7 @@ type UpstreamRepository struct {
Type RepositoryType `json:"type,omitempty"`
// DB repository details. Required if `type` is `db`. Must be unspecified if `type` is not `db`.
DB *DBRepository `json:"db,omitempty"`
// OCI repository details. Required if `type` is `oci`. Must be unspecified if `type` is not `oci`.
// Git repository details. Required if `type` is `git`. Must be unspecified if `type` is not `git`.
Git *GitRepository `json:"git,omitempty"`
// OCI repository details. Required if `type` is `oci`. Must be unspecified if `type` is not `oci`.
Oci *OciRepository `json:"oci,omitempty"`
Expand Down

0 comments on commit 2293efb

Please sign in to comment.