mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-02 02:02:24 +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
|
||||
}
|
||||
|
||||
err = os.RemoveAll(RunVMStoragePath + q.id)
|
||||
err = os.RemoveAll(filepath.Join(RunVMStoragePath, q.id))
|
||||
if err != nil {
|
||||
q.Logger().WithError(err).Error("Fail to clean up vm directory")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user