Skip to content

Commit

Permalink
Add missing changes
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer committed Sep 2, 2022
1 parent 209c41c commit e2771a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ To learn more about active deprecations, we recommend checking [GitHub Discussio
### Improvements

- **General:** Add explicit seccompProfile type to securityContext config ([#3561](https://github.com/kedacore/keda/issues/3561))
- **General:** Move from autoscaling `v2beta2` to `v2` for HPA ([#2462](https://github.com/kedacore/keda/issues/2462))

### Fixes

Expand Down
3 changes: 1 addition & 2 deletions pkg/scalers/external_mock_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"sync/atomic"

v2 "k8s.io/api/autoscaling/v2"
v2beta2 "k8s.io/api/autoscaling/v2"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/labels"
Expand Down Expand Up @@ -73,7 +72,7 @@ func getMockMetricsSpecs() []v2.MetricSpec {
Name: MockMetricName,
},
Target: v2.MetricTarget{
Type: v2beta2.ValueMetricType,
Type: v2.ValueMetricType,
Value: resource.NewQuantity(MockMetricValue, resource.DecimalSI),
},
},
Expand Down

0 comments on commit e2771a1

Please sign in to comment.