mirror of https://github.com/portainer/portainer
Bugfixes
parent
f1b5037ee5
commit
da1a5ead39
|
@ -165,7 +165,6 @@
|
||||||
// start new
|
// start new
|
||||||
Container.start({
|
Container.start({
|
||||||
id: containerData.Id
|
id: containerData.Id
|
||||||
// HostConfig: $scope.container.HostConfig we really need this?
|
|
||||||
}, function (d) {
|
}, function (d) {
|
||||||
$location.url('/containers/' + containerData.Id + '/');
|
$location.url('/containers/' + containerData.Id + '/');
|
||||||
Messages.send("Container started", $routeParams.id);
|
Messages.send("Container started", $routeParams.id);
|
||||||
|
@ -181,7 +180,6 @@
|
||||||
// start new
|
// start new
|
||||||
Container.start({
|
Container.start({
|
||||||
id: containerData.Id
|
id: containerData.Id
|
||||||
// HostConfig: $scope.container.HostConfig we really need this?
|
|
||||||
}, function (d) {
|
}, function (d) {
|
||||||
$location.url('/containers/'+containerData.Id+'/');
|
$location.url('/containers/'+containerData.Id+'/');
|
||||||
Messages.send("Container started", $routeParams.id);
|
Messages.send("Container started", $routeParams.id);
|
||||||
|
@ -202,7 +200,7 @@
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
update();
|
update();
|
||||||
Messages.send("Container commit failed", $routeParams.id);
|
Messages.error("Failure", "Container commit failed.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,8 @@ angular.module('dockerui.services', ['ngResource'])
|
||||||
url: Settings.url + '/commit',
|
url: Settings.url + '/commit',
|
||||||
params: {
|
params: {
|
||||||
'container': params.id,
|
'container': params.id,
|
||||||
'tag': params.tag
|
'tag': params.tag || null,
|
||||||
|
'repo': params.repo || null
|
||||||
},
|
},
|
||||||
data: params.config
|
data: params.config
|
||||||
}).success(callback).error(function (data, status, headers, config) {
|
}).success(callback).error(function (data, status, headers, config) {
|
||||||
|
|
Loading…
Reference in New Issue