fixed loss of hostconfig when starting with batch

pull/2/head
Hendrik Hofstadt 2015-02-07 23:02:35 +01:00
parent ccd27f203d
commit 829ff5da73
1 changed files with 1 additions and 1 deletions

View File

@ -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();