Skip to content

Commit 1e4618f

Browse files
author
OpenShift Bot
committed
bump(github.com/openshift/origin-web-console): 04d694f69cc8b78b54a52e8025fba93df5a71280
1 parent cf93cc3 commit 1e4618f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pkg/assets/bindata.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,10 +2523,11 @@ loadJSON: function(t, n) {
25232523
return JSON.parse(e[t].getItem("openshift/" + n) || "{}");
25242524
}
25252525
};
2526-
} ]), angular.module("openshiftConsole").factory("APIDiscovery", [ "LOGGING_URL", "METRICS_URL", "$q", function(e, t, n) {
2526+
} ]), angular.module("openshiftConsole").factory("APIDiscovery", [ "LOGGING_URL", "METRICS_URL", "$q", "$filter", function(e, t, n, a) {
25272527
return {
2528-
getLoggingURL: function() {
2529-
return n.when(e);
2528+
getLoggingURL: function(t) {
2529+
var r = e, o = a("annotation")(t, "loggingUIHostname");
2530+
return o && (r = "https://" + o), n.when(r);
25302531
},
25312532
getMetricsURL: function() {
25322533
return n.when(t);
@@ -12587,7 +12588,7 @@ autoScrollActive: !1
1258712588
});
1258812589
});
1258912590
};
12590-
if (s.getLoggingURL().then(function(a) {
12591+
if (s.getLoggingURL(t.context.project).then(function(a) {
1259112592
var r = _.get(t.context, "project.metadata.name"), i = _.get(t.options, "container");
1259212593
r && i && C && a && (angular.extend(t, {
1259312594
kibanaAuthUrl: e.trustAsResourceUrl(URI(a).segment("auth").segment("token").normalizePathname().toString()),

0 commit comments

Comments
 (0)