Skip to content

Commit

Permalink
fix cloneset status ExpectedUpdatedReplicas json name
Browse files Browse the repository at this point in the history
Signed-off-by: veophi <vec.g.sun@gmail.com>
  • Loading branch information
veophi committed Apr 24, 2022
1 parent 8330213 commit 12b211a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/apps/v1alpha1/cloneset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ type CloneSetStatus struct {

// ExpectedUpdatedReplicas is the number of Pods that should be updated by CloneSet controller.
// This field is calculated via Replicas - Partition.
ExpectedUpdatedReplicas int32 `json:"expectUpdatedReplicas,omitempty"`
ExpectedUpdatedReplicas int32 `json:"expectedUpdatedReplicas,omitempty"`

// UpdateRevision, if not empty, indicates the latest revision of the CloneSet.
UpdateRevision string `json:"updateRevision,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/apps.kruise.io_clonesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ spec:
description: currentRevision, if not empty, indicates the current
revision version of the CloneSet.
type: string
expectUpdatedReplicas:
expectedUpdatedReplicas:
description: ExpectedUpdatedReplicas is the number of Pods that should
be updated by CloneSet controller. This field is calculated via
Replicas - Partition.
Expand Down

0 comments on commit 12b211a

Please sign in to comment.