From a806d557355c642cf8ed72fd6571b093de7fa989 Mon Sep 17 00:00:00 2001 From: hw_3333 Date: Sun, 9 Oct 2022 18:11:30 +0800 Subject: [PATCH 1/2] fix comment Signed-off-by: hw_3333 --- api/v1beta1/status.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1beta1/status.go b/api/v1beta1/status.go index 0917d5ff6..fb8e5094c 100644 --- a/api/v1beta1/status.go +++ b/api/v1beta1/status.go @@ -33,10 +33,10 @@ type ZookeeperClusterStatus struct { // Members is the zookeeper members in the cluster Members MembersStatus `json:"members,omitempty"` - // Replicas is the number of number of desired replicas in the cluster + // Replicas is the number of desired replicas in the cluster Replicas int32 `json:"replicas,omitempty"` - // ReadyReplicas is the number of number of ready replicas in the cluster + // ReadyReplicas is the number of ready replicas in the cluster ReadyReplicas int32 `json:"readyReplicas,omitempty"` // InternalClientEndpoint is the internal client IP and port From 1b4e31b1ffc3d9f42dabdb464dc1115abbbf3f74 Mon Sep 17 00:00:00 2001 From: hw_3333 Date: Mon, 10 Oct 2022 17:15:39 +0800 Subject: [PATCH 2/2] modify crd Signed-off-by: hw_3333 --- .../crd/bases/zookeeper.pravega.io_zookeeperclusters.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/crd/bases/zookeeper.pravega.io_zookeeperclusters.yaml b/config/crd/bases/zookeeper.pravega.io_zookeeperclusters.yaml index 46f114d39..c4538bb1a 100644 --- a/config/crd/bases/zookeeper.pravega.io_zookeeperclusters.yaml +++ b/config/crd/bases/zookeeper.pravega.io_zookeeperclusters.yaml @@ -5831,13 +5831,12 @@ spec: metaRootCreated: type: boolean readyReplicas: - description: ReadyReplicas is the number of number of ready replicas - in the cluster + description: ReadyReplicas is the number of ready replicas in the + cluster format: int32 type: integer replicas: - description: Replicas is the number of number of desired replicas - in the cluster + description: Replicas is the number of desired replicas in the cluster format: int32 type: integer targetVersion: