Skip to content

Commit dd1f61b

Browse files
authored
Remove 'omitempty' from Fraction fields
1 parent 6ad6511 commit dd1f61b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

geps/gep-3171/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ This GEP proposes the following API changes:
3030
type Fraction struct {
3131
// +optional
3232
// +kubebuilder:validation:Minimum=0
33-
Numerator int32 `json:"numerator,omitempty"`
33+
Numerator int32 `json:"numerator"`
3434

3535
// +optional
3636
// +kubebuilder:default=100
3737
// +kubebuilder:validation:Minimum=1
38-
Denominator int32 `json:"denominator,omitempty"`
38+
Denominator int32 `json:"denominator"`
3939
}
4040

4141
type Percentage Fraction

0 commit comments

Comments
 (0)