Skip to content

Commit

Permalink
Use the appsv1 apigroup when building the reflector for replicasets.
Browse files Browse the repository at this point in the history
  • Loading branch information
tariq1890 committed Jul 10, 2019
1 parent 48a9424 commit 76c142e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## v1.7.0-rc.0 / 2019-07-10
## v1.7.0-rc.1 / 2019-07-10

* [BUGFIX] Use the appsv1 apigroup when building the reflector for replicasets. #816

## v1.7.0-rc.1 / 2019-07-10

* [CHANGE] Use appsv1 apigroup for ReplicaSet. #804
* [CHANGE] Use distroless/static as base image to further reduce image size. #748
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0-rc.0
1.7.0-rc.1
2 changes: 1 addition & 1 deletion internal/store/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func (b *Builder) buildPodDisruptionBudgetStore() *metricsstore.MetricsStore {
}

func (b *Builder) buildReplicaSetStore() *metricsstore.MetricsStore {
return b.buildStore(replicaSetMetricFamilies, &extensions.ReplicaSet{}, createReplicaSetListWatch)
return b.buildStore(replicaSetMetricFamilies, &appsv1.ReplicaSet{}, createReplicaSetListWatch)
}

func (b *Builder) buildReplicationControllerStore() *metricsstore.MetricsStore {
Expand Down

0 comments on commit 76c142e

Please sign in to comment.