Skip to content

Commit

Permalink
Remove 'omitempty' from Fraction fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebennert committed Jun 30, 2024
1 parent 6ad6511 commit dd1f61b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geps/gep-3171/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ This GEP proposes the following API changes:
type Fraction struct {
// +optional
// +kubebuilder:validation:Minimum=0
Numerator int32 `json:"numerator,omitempty"`
Numerator int32 `json:"numerator"`

// +optional
// +kubebuilder:default=100
// +kubebuilder:validation:Minimum=1
Denominator int32 `json:"denominator,omitempty"`
Denominator int32 `json:"denominator"`
}

type Percentage Fraction
Expand Down

0 comments on commit dd1f61b

Please sign in to comment.