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:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user