dashboard: show pretty memory limits in eventlog
This commit is contained in:
@@ -3703,7 +3703,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
} else if (data.icon) {
|
||||
return 'Icon ' + appName('of', app) + ' was changed';
|
||||
} else if (data.memoryLimit) {
|
||||
return 'Memory limit ' + appName('of', app) + ' was set to ' + data.memoryLimit;
|
||||
return 'Memory limit ' + appName('of', app) + ' was set to ' + prettyBinarySize(data.memoryLimit);
|
||||
} else if (data.cpuShares) {
|
||||
return 'CPU shares ' + appName('of', app) + ' was set to ' + Math.round((data.cpuShares * 100)/1024) + '%';
|
||||
} else if (data.cpuQuota) {
|
||||
|
||||
Reference in New Issue
Block a user