From eefb1a82cf6ee207116b18f26f1300256d7c8839 Mon Sep 17 00:00:00 2001 From: Shubham Gupta Date: Sun, 12 Feb 2023 16:16:49 +0530 Subject: [PATCH] fix Bug --- api/v1beta1/redisreplication_types.go | 2 +- api/v1beta1/zz_generated.deepcopy.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v1beta1/redisreplication_types.go b/api/v1beta1/redisreplication_types.go index ca4719ea0..df9ea159c 100644 --- a/api/v1beta1/redisreplication_types.go +++ b/api/v1beta1/redisreplication_types.go @@ -52,7 +52,7 @@ type RedisReplication struct { type RedisReplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` - Items []Redis `json:"items"` + Items []RedisReplication `json:"items"` } func init() { diff --git a/api/v1beta1/zz_generated.deepcopy.go b/api/v1beta1/zz_generated.deepcopy.go index 5cf190b2f..9013455e6 100644 --- a/api/v1beta1/zz_generated.deepcopy.go +++ b/api/v1beta1/zz_generated.deepcopy.go @@ -578,7 +578,7 @@ func (in *RedisReplicationList) DeepCopyInto(out *RedisReplicationList) { in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]Redis, len(*in)) + *out = make([]RedisReplication, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) }