mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Correct VM existance check on WSL
Replaces GetHyperVisorVMs() with Exists() to better abstract the underlying use-case and slightly imrpove efficiency. Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
This commit is contained in:
@ -218,8 +218,8 @@ func waitForReady(readySocket *define.VMFile, pid int, stdErrBuffer *bytes.Buffe
|
||||
return err
|
||||
}
|
||||
|
||||
func (q *QEMUStubber) GetHyperVisorVMs() ([]string, error) {
|
||||
return nil, nil
|
||||
func (q *QEMUStubber) Exists(name string) (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
func (q *QEMUStubber) VMType() define.VMType {
|
||||
|
Reference in New Issue
Block a user