Skip to content

Commit

Permalink
Merge pull request #5 from angel9484/feature/make_configurable_port_a…
Browse files Browse the repository at this point in the history
…nd_gossip_in_redis

delete again check of min number of replicas as original code has
  • Loading branch information
angel9484 authored Mar 24, 2021
2 parents 792deab + a82e83c commit 20d0d60
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/apis/redis/v1alpha1/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ func (in *DistributedRedisCluster) DefaultSpec(log logr.Logger) bool {
update = true
}

if in.Spec.ClusterReplicas < minClusterReplicas {
in.Spec.ClusterReplicas = minClusterReplicas
update = true
}

if in.Spec.ClientPort == 0 {
in.Spec.ClientPort = defaultClientPort
update = true
Expand Down

0 comments on commit 20d0d60

Please sign in to comment.