Skip to content

Commit

Permalink
Merge pull request #233 from VictoriaMetrics/fixes-vmcluster-insert-p…
Browse files Browse the repository at this point in the history
…orts

fixes typo for vmcluster additional services
  • Loading branch information
f41gh7 authored Apr 23, 2021
2 parents ba3a055 + 9434d96 commit 383cff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/factory/vmcluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ func CreateOrUpdateVMInsertService(ctx context.Context, cr *v1beta1.VMCluster, r
buildAdditionalServicePorts(cr.Spec.VMInsert.InsertPorts, additionalService)

newService := defaultVMInsertService(cr)
buildAdditionalServicePorts(cr.Spec.VMInsert.InsertPorts, additionalService)
buildAdditionalServicePorts(cr.Spec.VMInsert.InsertPorts, newService)

if cr.Spec.VMInsert.ServiceSpec != nil {
if additionalService.Name == newService.Name {
Expand Down

0 comments on commit 383cff3

Please sign in to comment.