mirror of https://github.com/portainer/portainer
fixed loss of hostconfig when starting with batch
parent
ccd27f203d
commit
829ff5da73
|
@ -27,7 +27,7 @@ function($scope, Container, Settings, Messages, ViewSpinner) {
|
||||||
angular.forEach(items, function(c) {
|
angular.forEach(items, function(c) {
|
||||||
if (c.Checked) {
|
if (c.Checked) {
|
||||||
counter = counter + 1;
|
counter = counter + 1;
|
||||||
action({id: c.Id}, function(d) {
|
action({id: c.Id, HostConfig: c.HostConfig}, function(d) {
|
||||||
Messages.send("Container " + msg, c.Id);
|
Messages.send("Container " + msg, c.Id);
|
||||||
var index = $scope.containers.indexOf(c);
|
var index = $scope.containers.indexOf(c);
|
||||||
complete();
|
complete();
|
||||||
|
|
Loading…
Reference in New Issue