Do not fail during reconfiguration if there is no such container
This commit is contained in:
+1
-1
@@ -344,7 +344,7 @@ function stopContainer(app, callback) {
|
||||
};
|
||||
|
||||
container.stop(options, function (error) {
|
||||
if (error && error.statusCode !== 304) return callback(new Error('Error starting container:' + error));
|
||||
if (error && (error.statusCode !== 304 || error.statusCode !== 404)) return callback(new Error('Error stopping container:' + error));
|
||||
|
||||
return callback(null);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user