зеркало из https://github.com/docker/kitematic.git
Fixing bug where container would create even if downloading container was deleted
This commit is contained in:
Родитель
62b9081e20
Коммит
a07117508d
|
@ -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});
|
||||
|
|
Загрузка…
Ссылка в новой задаче