This commit is contained in:
Girish Ramakrishnan
2019-01-08 20:46:39 -08:00
parent 8dc6da2b7a
commit e36c15f770
+2 -2
View File
@@ -44,7 +44,7 @@ app.controller('LogsController', ['$scope', '$timeout', '$location', 'Client', f
function escapeHtml(string) {
return String(string).replace(/[&<>"'`=\/]/g, function fromEntityMap (s) {
return entityMap[s];
return entityMap[s];
});
}
@@ -57,7 +57,7 @@ app.controller('LogsController', ['$scope', '$timeout', '$location', 'Client', f
else if ($scope.selected.type === 'task') func = Client.getTaskLogs;
else if ($scope.selected.type === 'app') func = Client.getAppLogs;
func($scope.selected.value, true, $scope.lines, function handleLogs(error, result) {
func($scope.selected.value, true /* follow */, $scope.lines, function handleLogs(error, result) {
if (error) return console.error(error);
$scope.activeEventSource = result;