Skip to content

Commit 20d0d60

Browse files
authored
Merge pull request #5 from angel9484/feature/make_configurable_port_and_gossip_in_redis
delete again check of min number of replicas as original code has
2 parents 792deab + a82e83c commit 20d0d60

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/apis/redis/v1alpha1/default.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ func (in *DistributedRedisCluster) DefaultSpec(log logr.Logger) bool {
2626
update = true
2727
}
2828

29-
if in.Spec.ClusterReplicas < minClusterReplicas {
30-
in.Spec.ClusterReplicas = minClusterReplicas
31-
update = true
32-
}
33-
3429
if in.Spec.ClientPort == 0 {
3530
in.Spec.ClientPort = defaultClientPort
3631
update = true

0 commit comments

Comments
 (0)