diff --git a/src/views/activity.js b/src/views/activity.js index 9180f8387..4efea157a 100644 --- a/src/views/activity.js +++ b/src/views/activity.js @@ -172,7 +172,7 @@ angular.module('Application').controller('ActivityController', ['$scope', '$loca } else if (data.memoryLimit) { return 'Memory limit of ' + appName(app) + ' was set to ' + data.memoryLimit; } else if (data.cpuShares) { - return 'CPU shares of ' + appName(app) + ' was set to ' + data.cpuShares; + return 'CPU shares of ' + appName(app) + ' was set to ' + Math.round((data.cpuShares * 100)/1024) + '%'; } else if (data.env) { return 'Env vars of ' + appName(app) + ' was changed'; } else if ('debugMode' in data) { // since it can be null