Fixed start/stop issues

Signed-off-by: FrenchBen <me@frenchben.com>
This commit is contained in:
FrenchBen 2015-08-31 15:25:52 -04:00
parent 9d830fc5ac
commit 55ae9531ce
1 changed files with 2 additions and 2 deletions

View File

@ -262,7 +262,7 @@ export default {
}, },
restart (name) { restart (name) {
this.client.getContainer(name).stop(stopError => { this.client.getContainer(name).stop({t: 10}, stopError => {
if (stopError && stopError.statusCode !== 304) { if (stopError && stopError.statusCode !== 304) {
containerServerActions.error({name, stopError}); containerServerActions.error({name, stopError});
return; return;
@ -278,7 +278,7 @@ export default {
}, },
stop (name) { stop (name) {
this.client.getContainer(name).stop(error => { this.client.getContainer(name).stop({t: 10}, error => {
if (error && error.statusCode !== 304) { if (error && error.statusCode !== 304) {
containerServerActions.error({name, error}); containerServerActions.error({name, error});
return; return;