Skip to content

Commit

Permalink
Update pkg/controller/autoscaling/elasticsearch/autoscaler/autoscaler…
Browse files Browse the repository at this point in the history
…_test.go
  • Loading branch information
thbkrkr authored Nov 18, 2024
1 parent 657647b commit 369671d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ func (asb *AutoscalingSpecBuilder) WithCPU(minCPU, maxCPU string) *AutoscalingSp
func (asb *AutoscalingSpecBuilder) WithCPUAndRatio(minCPU, maxCPU string, ratio resource.Quantity) *AutoscalingSpecBuilder {
asb.cpu = &v1alpha1.QuantityRange{
Min: resource.MustParse(minCPU),
Max: resource.MustParse(minCPU),
Max: resource.MustParse(maxCPU),
RequestsToLimitsRatio: &ratio,
}
return asb
Expand Down

0 comments on commit 369671d

Please sign in to comment.