Do not show any port binding update ui

This commit is contained in:
Johannes Zellner
2017-10-18 00:51:47 +02:00
parent 7b27ace7bf
commit 4212e4bb00
3 changed files with 3 additions and 100 deletions

View File

@@ -366,10 +366,9 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification',
}).error(defaultErrorHandler(callback));
};
Client.prototype.updateApp = function (id, manifest, portBindings, callback) {
Client.prototype.updateApp = function (id, manifest, callback) {
var data = {
appStoreId: manifest.id + '@' + manifest.version,
portBindings: portBindings
appStoreId: manifest.id + '@' + manifest.version
};
post('/api/v1/apps/' + id + '/update', data).success(function (data, status) {