Skip to content

Commit

Permalink
service_builder.go
Browse files Browse the repository at this point in the history
  • Loading branch information
vimystic committed Nov 20, 2024
1 parent 3b27cf1 commit 65c1d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/fullnode/service_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func BuildServices(crd *cosmosv1.CosmosFullNode) []diff.Resource[*corev1.Service
maxExternal := lo.Clamp(max, 0, crd.Spec.Replicas)
p2ps := make([]diff.Resource[*corev1.Service], crd.Spec.Replicas)

for i := crd.Spec.Ordinal.Start; i < crd.Spec.Ordinal.Start+crd.Spec.Replicas; i++ {
for i := int32(0); i < crd.Spec.Replicas; i++ {
ordinal := i
var svc corev1.Service
svc.Name = p2pServiceName(crd, ordinal)
Expand Down

0 comments on commit 65c1d33

Please sign in to comment.