Merge pull request #1722 from coreos-inc/logentry-index

Add an index for lookup by account to log entries
This commit is contained in:
josephschorr 2016-08-12 18:40:24 -04:00 committed by GitHub
commit aa2066e3f5
4 changed files with 36 additions and 14 deletions

View file

@ -13,7 +13,6 @@ angular.module('quay').directive('logsView', function () {
'user': '=user',
'makevisible': '=makevisible',
'repository': '=repository',
'performer': '=performer',
'allLogs': '@allLogs'
},
controller: function($scope, $element, $sce, Restangular, ApiService, TriggerService,
@ -313,11 +312,6 @@ angular.module('quay').directive('logsView', function () {
url += '?starttime=' + encodeURIComponent(getDateString($scope.options.logStartDate));
url += '&endtime=' + encodeURIComponent(getDateString($scope.options.logEndDate));
if ($scope.performer) {
url += '&performer=' + encodeURIComponent($scope.performer.name);
}
return url;
};
@ -397,7 +391,6 @@ angular.module('quay').directive('logsView', function () {
$scope.$watch('user', update);
$scope.$watch('repository', update);
$scope.$watch('makevisible', update);
$scope.$watch('performer', update);
$scope.$watch('options.logStartDate', update);
$scope.$watch('options.logEndDate', update);