Skip to content

Commit

Permalink
apis/config: use = (vs. :=) consistently in tags.
Browse files Browse the repository at this point in the history
Use consistently '=' for assignment (instead of ':=') in
+kubebuilder:validation tags. Both versions work, but we
have earlier used '=' everywhere, so let's stick to that.

Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub committed Nov 5, 2024
1 parent 416f238 commit bc0003f
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 bc0003f

Please sign in to comment.