Skip to content

Commit

Permalink
Merge pull request #397 from klihub/fixes/config/validation-assignment
Browse files Browse the repository at this point in the history
apis/config: use consistent assignment in +kubebuilder:validation tags.
  • Loading branch information
fmuyassarov authored Nov 5, 2024
2 parents 416f238 + bc0003f commit 969edda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/config/v1alpha1/resmgr/policy/balloons/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,12 @@ type BalloonDef struct {
// for the time being we prevent its usage through CRDs.
PreferFarFromDevices []string `json:"-"`
// preferIsolCpus: prefer kernel isolated cpus
// +kubebuilder:default:=false
// +kubebuilder:default=false
PreferIsolCpus bool `json:"preferIsolCpus,omitempty"`
// preferCoreType: prefer performance or efficient (P/E) CPU cores on
// hybrid architectures.
// +optional
// +kubebuilder:validation:Enum:=efficient;performance
// +kubebuilder:validation:Enum=efficient;performance
PreferCoreType string `json:"preferCoreType,omitempty"`
}

Expand Down

0 comments on commit 969edda

Please sign in to comment.