redis: logs
This commit is contained in:
+9
-1
@@ -83,7 +83,15 @@ app.controller('LogsController', ['$scope', '$translate', 'Client', function ($s
|
||||
}
|
||||
|
||||
function select(ids, callback) {
|
||||
if (ids.id) {
|
||||
if (ids.id && ids.id.indexOf('redis:') === 0) {
|
||||
$scope.selected = {
|
||||
name: 'Redis',
|
||||
type: 'service',
|
||||
value: ids.id,
|
||||
url: Client.makeURL('/api/v1/services/' + ids.id + '/logs')
|
||||
};
|
||||
callback();
|
||||
} else if (ids.id) {
|
||||
var BUILT_IN_LOGS = [
|
||||
{ name: 'Box', type: 'platform', value: 'box', url: Client.makeURL('/api/v1/cloudron/logs/box') },
|
||||
{ name: 'Graphite', type: 'service', value: 'graphite', url: Client.makeURL('/api/v1/services/graphite/logs') },
|
||||
|
||||
Reference in New Issue
Block a user