diff --git a/assets/app/scripts/directives/logViewer.js b/assets/app/scripts/directives/logViewer.js
index f49c1824adf0..1e524d1a0008 100644
--- a/assets/app/scripts/directives/logViewer.js
+++ b/assets/app/scripts/directives/logViewer.js
@@ -36,7 +36,7 @@ angular.module('openshiftConsole')
scope: {
followAffixTop: '=?',
followAffixBottom: '=?',
- kind: '@',
+ resource: '@',
name: '=',
context: '=',
options: '=?',
@@ -234,7 +234,7 @@ angular.module('openshiftConsole')
tailLines: 1000,
limitBytes: 10 * 1024 * 1024 // Limit log size to 10 MiB
}, $scope.options);
- streamer = DataService.createStream($scope.kind, $scope.name, $scope.context, options);
+ streamer = DataService.createStream($scope.resource, $scope.name, $scope.context, options);
var lastLineNumber = 0;
var addLine = function(text) {
diff --git a/assets/app/scripts/services/data.js b/assets/app/scripts/services/data.js
index a8b2c9e37755..bce8b201e030 100644
--- a/assets/app/scripts/services/data.js
+++ b/assets/app/scripts/services/data.js
@@ -366,9 +366,9 @@ function b64_to_utf8( str ) {
}
// TODO (bpeterse): Create a new Streamer service & get this out of DataService.
-DataService.prototype.createStream = function(kind, name, context, opts, isRaw) {
+DataService.prototype.createStream = function(resource, name, context, opts, isRaw) {
var self = this;
- var resource = APIService.toResourceGroupVersion(APIService.kindToResource(kind));
+ resource = APIService.toResourceGroupVersion(resource);
var protocols = isRaw ? 'binary.k8s.io' : 'base64.binary.k8s.io';
var identifier = 'stream_';
diff --git a/assets/app/views/browse/build.html b/assets/app/views/browse/build.html
index 3b88a4605100..7a2efdcb55a9 100644
--- a/assets/app/views/browse/build.html
+++ b/assets/app/views/browse/build.html
@@ -90,7 +90,7 @@
ng-if="selectedTab.logs"
follow-affix-top="390"
follow-affix-bottom="90"
- kind="builds/log"
+ resource="builds/log"
name="build.metadata.name"
context="logContext"
options="logOptions"
diff --git a/assets/app/views/browse/deployment.html b/assets/app/views/browse/deployment.html
index 0180a1327bc5..6e556ba31c8e 100644
--- a/assets/app/views/browse/deployment.html
+++ b/assets/app/views/browse/deployment.html
@@ -77,7 +77,7 @@ Container {{container.name}}
ng-if="selectedTab.logs"
follow-affix-top="390"
follow-affix-bottom="90"
- kind="deploymentconfigs/log"
+ resource="deploymentconfigs/log"
name="deploymentConfigName"
context="logContext"
options="logOptions"
diff --git a/assets/app/views/browse/pod.html b/assets/app/views/browse/pod.html
index bd1dec2be7e4..21758c47326f 100644
--- a/assets/app/views/browse/pod.html
+++ b/assets/app/views/browse/pod.html
@@ -90,7 +90,7 @@ Container {{container.name}}
ng-if="selectedTab.logs"
follow-affix-top="390"
follow-affix-bottom="90"
- kind="pods/log"
+ resource="pods/log"
name="pod.metadata.name"
context="logContext"
options="logOptions"
diff --git a/assets/app/views/logs/chromeless-build-log.html b/assets/app/views/logs/chromeless-build-log.html
index 662e0ef00264..2369ae348d10 100644
--- a/assets/app/views/logs/chromeless-build-log.html
+++ b/assets/app/views/logs/chromeless-build-log.html
@@ -13,7 +13,7 @@
\n" +
"\n" +
"Logs\n" +
- "\n" +
+ "\n" +
"\n" +
"\n" +
"\n" +
@@ -9468,7 +9470,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
"\n" +
"\n" +
"Logs\n" +
- "\n" +
+ "\n" +
"\n" +
"\n" +
"\n" +
@@ -9768,7 +9770,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
"\n" +
"\n" +
- "\n" +
+ "\n" +
"\n" +
"\n" +
" 0\">\n" +
@@ -12281,7 +12283,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
"
\n" +
" \n" +
"
\n" +
- "\n" +
+ "\n" +
"\n" +
"
\n" +
"\n" +
@@ -12306,7 +12308,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
"\n" +
"\n" +
"\n" +
- "\n" +
+ "\n" +
"\n" +
"
\n" +
"\n" +
@@ -12331,7 +12333,7 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
"\n" +
"\n" +
"\n" +
- "\n" +
+ "\n" +
"\n" +
"
\n" +
"\n" +