memoryUsage -> memoryLimit

This commit is contained in:
Girish Ramakrishnan
2016-09-04 11:47:27 -07:00
parent b4bd6500a3
commit 31636af643
2 changed files with 3 additions and 3 deletions

View File

@@ -179,7 +179,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
$scope.appConfigure.portBindingsInfo = app.manifest.tcpPorts || {}; // Portbinding map only for information
$scope.appConfigure.accessRestrictionOption = app.accessRestriction ? 'restricted' : '';
$scope.appConfigure.accessRestriction = app.accessRestriction || { users: [], groups: [] };
$scope.appConfigure.memoryUsage = app.memoryUsage || 256;
$scope.appConfigure.memoryLimit = app.memoryLimit || 256;
$scope.appConfigure.xFrameOptions = app.xFrameOptions.indexOf('ALLOW-FROM') === 0 ? app.xFrameOptions.split(' ')[1] : '';
// fill the portBinding structures. There might be holes in the app.portBindings, which signalizes a disabled port