Do not fail during reconfiguration if there is no such container

This commit is contained in:
Johannes Zellner
2014-08-25 09:34:01 -07:00
parent 98a91c2b4f
commit eb21b531b3
+1 -1
View File
@@ -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);
});