update dependencies (#6267)

Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
hongming
2024-11-06 10:27:06 +08:00
committed by GitHub
parent faf255a084
commit cfebd96a1f
4263 changed files with 341374 additions and 132036 deletions

View File

@@ -40,7 +40,7 @@ const (
type ResourceQuotaAdmission struct {
client client.Client
decoder *webhook.AdmissionDecoder
decoder webhook.AdmissionDecoder
lockFactory LockFactory
@@ -117,8 +117,8 @@ func (r *ResourceQuotaAdmission) lockAquisition(quotas []corev1.ResourceQuota) f
// acquire the locks in alphabetical order because I'm too lazy to think of something clever
sort.Sort(ByName(quotas))
for _, quota := range quotas {
lock := r.lockFactory.GetLock(string(quota.UID))
for _, q := range quotas {
lock := r.lockFactory.GetLock(string(q.UID))
lock.Lock()
locks = append(locks, lock)
}