Skip to content

Commit

Permalink
MINOR: crd: simplify tcp definition
Browse files Browse the repository at this point in the history
  • Loading branch information
oktalz committed Jun 10, 2024
1 parent ca5c650 commit 1c41d63
Show file tree
Hide file tree
Showing 7 changed files with 1,181 additions and 1,184 deletions.
4 changes: 1 addition & 3 deletions crs/api/ingress/v1/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ type TCPModel struct {
}

// TCPSpec defines the desired state of a TCPService
type TCPSpec struct {
TCPs []TCPModel `json:"tcps,omitempty"`
}
type TCPSpec []TCPModel

// DeepCopyInto deepcopying the receiver into out. in must be non-nil.
func (a *TCPModel) DeepCopyInto(out *TCPModel) {
Expand Down
23 changes: 14 additions & 9 deletions crs/api/ingress/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1c41d63

Please sign in to comment.