redis: show app fqdn instead of location
This commit is contained in:
@@ -278,8 +278,11 @@ angular.module('Application').controller('SystemController', ['$scope', '$locati
|
||||
if (name.indexOf('redis') === 0) {
|
||||
isRedis = true;
|
||||
var app = Client.getCachedAppSync(name.slice('redis:'.length));
|
||||
displayName = 'redis for ';
|
||||
if (app) displayName += app.label || app.location || app.fqdn;
|
||||
if (app) {
|
||||
displayName = 'Redis for ' + (app.label || app.fqdn);
|
||||
} else {
|
||||
displayName = 'Redis for unknown app';
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user