mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
Fixed Cmd parsing for strings, added error handling to start step.
This commit is contained in:
parent
314fc51f6d
commit
687ed7bac2
4 changed files with 31 additions and 12 deletions
|
@ -60,7 +60,7 @@ describe('startContainerController', function() {
|
|||
'Warnings': null
|
||||
});
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start?').respond({
|
||||
'Id': id,
|
||||
'id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
|
||||
|
@ -92,7 +92,7 @@ describe('startContainerController', function() {
|
|||
'Warnings': null
|
||||
});
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start?').respond({
|
||||
'Id': id,
|
||||
'id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
|
||||
|
@ -128,7 +128,7 @@ describe('startContainerController', function() {
|
|||
'Warnings': null
|
||||
});
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start?').respond({
|
||||
'Id': id,
|
||||
'id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
|
||||
|
@ -165,7 +165,7 @@ describe('startContainerController', function() {
|
|||
'Warnings': null
|
||||
});
|
||||
$httpBackend.expectPOST('dockerapi/containers/' + id + '/start?').respond({
|
||||
'Id': id,
|
||||
'id': id,
|
||||
'Warnings': null
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue