Skip to content

Commit

Permalink
omit empty value (#1087)
Browse files Browse the repository at this point in the history
Signed-off-by: YuChen <[email protected]>
  • Loading branch information
YCShen1010 authored Sep 30, 2024
1 parent c1be25c commit 2f1f1e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1alpha1/operandconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ type MatchExpression struct {
Operator ExpressionOperator `json:"operator"`
// Values is the values of the field.
// +optional
Values []string `json:"values"`
Values []string `json:"values,omitempty"`
// ObjectRef is the reference of the object.
// +optional
ObjectRef *ObjectRef `json:"objectRef,omitempty"`
Expand Down

0 comments on commit 2f1f1e7

Please sign in to comment.