Merge pull request #20145 from baude/wslenablestart

wsl: machine start test
This commit is contained in:
OpenShift Merge Robot
2023-09-26 01:26:22 -04:00
committed by GitHub

View File

@ -1111,7 +1111,7 @@ func (v *MachineVM) Set(_ string, opts machine.SetOptions) ([]error, error) {
func (v *MachineVM) Start(name string, opts machine.StartOptions) error { func (v *MachineVM) Start(name string, opts machine.StartOptions) error {
if v.isRunning() { if v.isRunning() {
return fmt.Errorf("%q is already running", name) return machine.ErrVMAlreadyRunning
} }
dist := toDist(name) dist := toDist(name)