Skip to content

Commit

Permalink
apply resourcequota changes
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Jun 16, 2023
1 parent abafee3 commit 37ca51b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (dc *DataCollector) SyncMetrics(obj interface{}) {
case *corev1.ReplicationController:
md = ocsToMetrics(replicationcontroller.GetMetrics(o))
case *corev1.ResourceQuota:
md = ocsToMetrics(resourcequota.GetMetrics(o))
md = resourcequota.GetMetrics(dc.settings, o)
case *appsv1.Deployment:
md = ocsToMetrics(deployment.GetMetrics(o))
case *appsv1.ReplicaSet:
Expand Down

0 comments on commit 37ca51b

Please sign in to comment.