1
0
mirror of https://github.com/docker/docs.git synced 2026-11-12 16:32:36 +03:00

Fixing bug where container would create even if downloading container was deleted

This commit is contained in:
Jeffrey Morgan
2015-05-18 11:23:06 -07:00
parent 62b9081e20
commit a07117508d

View File

@@ -54,6 +54,10 @@ export default {
stream.setEncoding('utf8');
stream.on('data', function () {});
stream.on('end', () => {
if (!this.placeholders[container.Name]) {
return;
}
delete this.placeholders[container.Name];
localStorage.setItem('placeholders', JSON.stringify(this.placeholders));
this.createContainer(container.Name, {Image: container.Config.Image});