mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Fix bug where machine would not exist
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Kitematic",
|
||||
"version": "0.5.24",
|
||||
"version": "0.5.25",
|
||||
"author": "Kitematic",
|
||||
"description": "Simple Docker Container management for Mac OS X.",
|
||||
"homepage": "https://kitematic.com/",
|
||||
|
||||
@@ -64,7 +64,7 @@ var _steps = [{
|
||||
setupUtil.simulateProgress(this.seconds, progressCallback);
|
||||
var exists = yield machine.exists();
|
||||
if (!exists || (yield machine.state()) === 'Error') {
|
||||
if ((yield machine.state()) === 'Error') {
|
||||
if (exists && (yield machine.state()) === 'Error') {
|
||||
yield machine.rm();
|
||||
}
|
||||
yield machine.create();
|
||||
|
||||
Reference in New Issue
Block a user