@@ -9497,15 +9497,15 @@ a.project = e, a.breadcrumbs[0].title = r("displayName")(e), d.sourceURI && (a.s
9497
9497
var s = function() {
9498
9498
a.hideCPU || (a.cpuProblems = j.validatePodLimits(a.limitRanges, "cpu", [ a.container ], e)), a.memoryProblems = j.validatePodLimits(a.limitRanges, "memory", [ a.container ], e);
9499
9499
};
9500
- f.list("limitranges", g, function(b) {
9501
- a.limitRanges = b.by("metadata.name"), 0 !== r("hashSize")(b) && a.$watch("container", s, !0);
9500
+ f.list("limitranges", g).then( function(b) {
9501
+ a.limitRanges = b.by("metadata.name"), _.isEmpty(a.limitRanges) || a.$watch("container", s, !0);
9502
9502
});
9503
9503
var u, E, F = function() {
9504
9504
return a.scaling.autoscale ? void (a.showCPURequestWarning = !l.hasCPURequest([ a.container ], a.limitRanges, e)) :void (a.showCPURequestWarning = !1);
9505
9505
};
9506
- f.list("resourcequotas", g, function(a) {
9506
+ f.list("resourcequotas", g).then( function(a) {
9507
9507
u = a.by("metadata.name"), b.log("quotas", u);
9508
- }), f.list("appliedclusterresourcequotas", g, function(a) {
9508
+ }), f.list("appliedclusterresourcequotas", g).then( function(a) {
9509
9509
E = a.by("metadata.name"), b.log("cluster quotas", E);
9510
9510
}), a.$watch("scaling.autoscale", F), a.$watch("container", F, !0), a.$watch("name", function(a) {
9511
9511
A.value = a;
0 commit comments