// ignore tracking the resource if its not in the quota document
// ignore tracking the resource if it's not in the quota document
if!set[resourceName]{
continue
}
...
...
@@ -250,7 +250,7 @@ func IncrementUsage(a admission.Attributes, status *api.ResourceQuotaStatus, cli
}
ifnewUsageValue>hardUsageValue{
returnfalse,fmt.Errorf("Unable to admit pod without exceeding quota for resource %s. Limited to %s but require %s to succeed.",resourceName,hard.String(),newUsage.String())
returnfalse,fmt.Errorf("Unable to admit pod without exceeding quota for resource %s: Limited to %s but require %s to succeed.",resourceName,hard.String(),newUsage.String())