Skip to content

Commit

Permalink
use the correct 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 6e9ecbf
Showing 1 changed file with 1 addition and 1 deletion.
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 6e9ecbf

Please sign in to comment.