Skip to content

Commit e3d1cab

Browse files
authored
Merge pull request #816 from tariq1890/fix_rs
Use the appsv1 apigroup when building the reflector for replicasets.
2 parents 48a9424 + b42b29a commit e3d1cab

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v1.7.0-rc.1 / 2019-07-10
2+
3+
* [BUGFIX] Use the appsv1 apigroup when building the reflector for replicasets. #816
4+
15
## v1.7.0-rc.0 / 2019-07-10
26

37
* [CHANGE] Use appsv1 apigroup for ReplicaSet. #804

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.0-rc.0
1+
1.7.0-rc.1

internal/store/builder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ func (b *Builder) buildPodDisruptionBudgetStore() *metricsstore.MetricsStore {
225225
}
226226

227227
func (b *Builder) buildReplicaSetStore() *metricsstore.MetricsStore {
228-
return b.buildStore(replicaSetMetricFamilies, &extensions.ReplicaSet{}, createReplicaSetListWatch)
228+
return b.buildStore(replicaSetMetricFamilies, &appsv1.ReplicaSet{}, createReplicaSetListWatch)
229229
}
230230

231231
func (b *Builder) buildReplicationControllerStore() *metricsstore.MetricsStore {

0 commit comments

Comments
 (0)