@@ -73974,7 +73974,7 @@ return e.reject(i);
73974
73974
} ]), angular.module("openshiftCommonServices").factory("AuthorizationService", [ "$q", "$cacheFactory", "Logger", "$interval", "APIService", "DataService", function(e, t, n, i, r, o) {
73975
73975
var a = null, s = t("rulesCache", {
73976
73976
number: 10
73977
- }), l = !1, c = [ "localresourceaccessreviews", "localsubjectaccessreviews", "resourceaccessreviews", "selfsubjectaccessreviews", "selfsubjectrulesreviews", "subjectaccessreviews" ], u = function(e) {
73977
+ }), l = !1, c = [ "localresourceaccessreviews", "localsubjectaccessreviews", "resourceaccessreviews", "selfsubjectaccessreviews", "selfsubjectrulesreviews", "subjectaccessreviews", "subjectrulesreviews", "podsecuritypolicyreviews", "podsecuritypolicysubjectreviews", "podsecuritypolicyselfsubjectreviews", "tokenreviews" ], u = function(e) {
73978
73978
var t = {};
73979
73979
return _.each(e, function(e) {
73980
73980
_.each(e.apiGroups, function(n) {
@@ -74589,7 +74589,12 @@ s._listOpComplete(o, e, n, i, t);
74589
74589
}).error(function(t, n, r, a) {
74590
74590
s._listInFlight(o, !1);
74591
74591
var l = s._listDeferred(o);
74592
- delete s._listDeferredMap[o], l.reject(t, n, r, a), _.get(i, "errorNotification", !0) && b("Failed to list " + e, n);
74592
+ delete s._listDeferredMap[o], l.reject({
74593
+ data: t,
74594
+ status: n,
74595
+ headers: r,
74596
+ config: a
74597
+ }), _.get(i, "errorNotification", !0) && b("Failed to list " + e, n);
74593
74598
});
74594
74599
}) : t({
74595
74600
method: "GET",
@@ -74601,7 +74606,12 @@ s._listOpComplete(o, e, n, i, t);
74601
74606
}).error(function(t, n, r, a) {
74602
74607
s._listInFlight(o, !1);
74603
74608
var l = s._listDeferred(o);
74604
- delete s._listDeferredMap[o], l.reject(t, n, r, a), _.get(i, "errorNotification", !0) && b("Failed to list " + e, n);
74609
+ delete s._listDeferredMap[o], l.reject({
74610
+ data: t,
74611
+ status: n,
74612
+ headers: r,
74613
+ config: a
74614
+ }), _.get(i, "errorNotification", !0) && b("Failed to list " + e, n);
74605
74615
});
74606
74616
}, f.prototype._listOpComplete = function(e, t, n, i, r) {
74607
74617
r.items || console.warn("List request for " + t + " returned a null items array. This is an invalid API response.");
0 commit comments