mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-04 02:56:18 +00:00
Merge pull request #544 from lifupan/master
virtcontainers: fix the issue of cleanup the vm's path
This commit is contained in:
commit
04fa125e95
@ -579,7 +579,7 @@ func (q *qemu) stopSandbox() error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
err = os.RemoveAll(RunVMStoragePath + q.id)
|
err = os.RemoveAll(filepath.Join(RunVMStoragePath, q.id))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
q.Logger().WithError(err).Error("Fail to clean up vm directory")
|
q.Logger().WithError(err).Error("Fail to clean up vm directory")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user