mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-03 02:26:37 +00:00
cli: fix factory assignment
A stupid typo... Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
parent
fc45d2e3d1
commit
0541a5fc77
@ -126,7 +126,7 @@ func create(containerID, bundlePath, console, pidFilePath string, detach bool,
|
|||||||
kataLog.WithError(err).Warn("create vm factory failed")
|
kataLog.WithError(err).Warn("create vm factory failed")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err == nil {
|
||||||
vci.SetFactory(f)
|
vci.SetFactory(f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user