Skip to content

Commit

Permalink
fix: fix enum typo error
Browse files Browse the repository at this point in the history
Signed-off-by: Rory Z <[email protected]>
  • Loading branch information
Rory-Z committed Aug 29, 2023
1 parent db53674 commit 9d4c58e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apis/apps/v2beta1/emqx_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ type BootstrapAPIKey struct {
}

type Config struct {
//+kubebuilder:validation:Enum=merge;replace
//+kubebuilder:validation:Enum=Merge;Replace
//+kubebuilder:default=merge
Mode string `json:"mode,omitempty"`
// EMQX config, HOCON format, like etc/emqx.conf file
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/apps.emqx.io_emqxes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6507,8 +6507,8 @@ spec:
mode:
default: merge
enum:
- merge
- replace
- Merge
- Replace
type: string
type: object
coreTemplate:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6519,8 +6519,8 @@ spec:
mode:
default: merge
enum:
- merge
- replace
- Merge
- Replace
type: string
type: object
coreTemplate:
Expand Down

0 comments on commit 9d4c58e

Please sign in to comment.