mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-03-06 11:41:20 +00:00
fix: handling multiple resources for hard ResourceQuota resources
This commit is contained in:
@@ -405,7 +405,6 @@ func (r *TenantReconciler) syncResourceQuotas(tenant *capsulev1beta1.Tenant) err
|
||||
}
|
||||
rql.Items[i].Spec.Hard[rn] = q.Hard[rn]
|
||||
}
|
||||
target.Spec = q
|
||||
}
|
||||
if err := r.resourceQuotasUpdate(rn, qt, q.Hard[rn], rql.Items...); err != nil {
|
||||
r.Log.Error(err, "cannot proceed with outer ResourceQuota")
|
||||
|
||||
Reference in New Issue
Block a user