Skip to content

Commit

Permalink
bugfix: completed spell error (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengluodb authored Jan 16, 2024
1 parent 76741c6 commit 7129b8a
Show file tree
Hide file tree
Showing 22 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/fio_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ type FioSpec struct {
// FioStatus defines the observed state of Fio
type FioStatus struct {
// Phase is the current state of the test. Valid values are Disabled, Enabled, Failed, Enabling, Disabling.
// +kubebuilder:validation:Enum={Pending,Running,Complete,Failed}
// +kubebuilder:validation:Enum={Pending,Running,Completed,Failed}
Phase BenchmarkPhase `json:"phase,omitempty"`

// completions is the completed/total number of pgbench runs
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/pgbench_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type PgbenchSpec struct {
// PgbenchStatus defines the observed state of Pgbench
type PgbenchStatus struct {
// Phase is the current state of the test. Valid values are Disabled, Enabled, Failed, Enabling, Disabling.
// +kubebuilder:validation:Enum={Pending,Running,Complete,Failed}
// +kubebuilder:validation:Enum={Pending,Running,Completed,Failed}
Phase BenchmarkPhase `json:"phase,omitempty"`

// completions is the completed/total number of pgbench runs
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/redisbench_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type RedisBenchSpec struct {
// RedisBenchStatus defines the observed state of RedisBench
type RedisBenchStatus struct {
// Phase is the current state of the test. Valid values are Disabled, Enabled, Failed, Enabling, Disabling.
// +kubebuilder:validation:Enum={Pending,Running,Complete,Failed}
// +kubebuilder:validation:Enum={Pending,Running,Completed,Failed}
Phase BenchmarkPhase `json:"phase,omitempty"`

// completions is the completed/total number of pgbench runs
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/sysbench_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type SysbenchSpec struct {
// SysbenchStatus defines the observed state of Sysbench
type SysbenchStatus struct {
// Phase is the current state of the test. Valid values are Disabled, Enabled, Failed, Enabling, Disabling.
// +kubebuilder:validation:Enum={Pending,Running,Complete,Failed}
// +kubebuilder:validation:Enum={Pending,Running,Completed,Failed}
Phase BenchmarkPhase `json:"phase,omitempty"`

// completions is the completed/total number of sysbench runs
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/tpcc_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ type TpccSpec struct {
// TpccStatus defines the observed state of Tpcc
type TpccStatus struct {
// Phase is the current state of the test. Valid values are Disabled, Enabled, Failed, Enabling, Disabling.
// +kubebuilder:validation:Enum={Pending,Running,Complete,Failed}
// +kubebuilder:validation:Enum={Pending,Running,Completed,Failed}
Phase BenchmarkPhase `json:"phase,omitempty"`

// completions is the completed/total number of sysbench runs
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/tpch_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type TpchSpec struct {
// TpchStatus defines the observed state of Tpch
type TpchStatus struct {
// Phase is the current state of the test. Valid values are Disabled, Enabled, Failed, Enabling, Disabling.
// +kubebuilder:validation:Enum={Pending,Running,Complete,Failed}
// +kubebuilder:validation:Enum={Pending,Running,Completed,Failed}
Phase BenchmarkPhase `json:"phase,omitempty"`

// completions is the completed/total number of sysbench runs
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v1alpha1
import corev1 "k8s.io/api/core/v1"

// BenchmarkPhase is the current state of the test.
// +kubebuilder:validation:Enum={Pending,Running,Complete,Failed}
// +kubebuilder:validation:Enum={Pending,Running,Completed,Failed}
type BenchmarkPhase string

const (
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/ycsb_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ type YcsbSpec struct {
// YcsbStatus defines the observed state of Ycsb
type YcsbStatus struct {
// Phase is the current state of the test. Valid values are Disabled, Enabled, Failed, Enabling, Disabling.
// +kubebuilder:validation:Enum={Pending,Running,Complete,Failed}
// +kubebuilder:validation:Enum={Pending,Running,Completed,Failed}
Phase BenchmarkPhase `json:"phase,omitempty"`

// completions is the completed/total number of sysbench runs
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/benchmark.apecloud.io_fios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/benchmark.apecloud.io_pgbenches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/benchmark.apecloud.io_redisbenches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/benchmark.apecloud.io_sysbenches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/benchmark.apecloud.io_tpccs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/benchmark.apecloud.io_tpches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/benchmark.apecloud.io_ycsbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/crds/benchmark.apecloud.io_fios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/crds/benchmark.apecloud.io_pgbenches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/crds/benchmark.apecloud.io_redisbenches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/crds/benchmark.apecloud.io_sysbenches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/crds/benchmark.apecloud.io_tpccs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/crds/benchmark.apecloud.io_tpches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/crds/benchmark.apecloud.io_ycsbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,12 @@ spec:
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
- enum:
- Pending
- Running
- Complete
- Completed
- Failed
type: string
succeeded:
Expand Down

0 comments on commit 7129b8a

Please sign in to comment.