Skip to content

Commit ca3d987

Browse files
author
OpenShift Bot
committed
bump(github.com/openshift/origin-web-console): a60cd15356e51166f4e7a8d5b06760b003edcbd5
1 parent 92ff7b8 commit ca3d987

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

pkg/assets/bindata.go

+17-1
Original file line numberDiff line numberDiff line change
@@ -14453,6 +14453,22 @@ var c, d, e = _.get(a, "state.waiting.reason") || _.get(a, "state.terminated.rea
1445314453
return e ? void (b = e) :(c = _.get(a, "state.terminated.signal")) ? void (b = "Signal: " + c) :(d = _.get(a, "state.terminated.exitCode"), void (d && (b = "Exit Code: " + d)));
1445414454
}), b;
1445514455
};
14456+
}).filter("podStartTime", function() {
14457+
return function(a) {
14458+
var b = null;
14459+
return _.each(_.get(a, "status.containerStatuses"), function(a) {
14460+
var c = _.get(a, "state.running") || _.get(a, "state.terminated");
14461+
c && (b && !moment(c.startedAt).isBefore(b) || (b = c.startedAt));
14462+
}), b;
14463+
};
14464+
}).filter("podCompletionTime", function() {
14465+
return function(a) {
14466+
var b = null;
14467+
return _.each(_.get(a, "status.containerStatuses"), function(a) {
14468+
var c = _.get(a, "state.terminated");
14469+
c && (b && !moment(c.finishedAt).isAfter(b) || (b = c.finishedAt));
14470+
}), b;
14471+
};
1445614472
}).filter("routeIngressCondition", function() {
1445714473
return function(a, b) {
1445814474
return a ? _.find(a.conditions, {
@@ -16367,7 +16383,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
1636716383
"<dt>Status:</dt>\n" +
1636816384
"<dd>\n" +
1636916385
"<status-icon status=\"pod | podStatus\"></status-icon>\n" +
16370-
"{{pod | podStatus | sentenceCase}}\n" +
16386+
"{{pod | podStatus | sentenceCase}}<span ng-if=\"pod | podCompletionTime\">, ran for {{(pod | podStartTime) | duration : (pod | podCompletionTime)}}</span>\n" +
1637116387
"<span ng-if=\"pod.metadata.deletionTimestamp\">(expires {{pod.metadata.deletionTimestamp | date : 'medium'}})</span>\n" +
1637216388
"</dd>\n" +
1637316389
"<dt ng-if-start=\"pod.metadata.deletionTimestamp && pod.spec.terminationGracePeriodSeconds\">Grace Period:</dt>\n" +

0 commit comments

Comments
 (0)