wsl: machine start test

the emitted message for starting a machine that is is already started
needed to be slightly altered for wsl.

[NO NEW TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude 2023-09-25 19:59:26 -05:00
parent aebfde2408
commit a112ee8959
1 changed files with 1 additions and 1 deletions

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 {
if v.isRunning() {
return fmt.Errorf("%q is already running", name)
return machine.ErrVMAlreadyRunning
}
dist := toDist(name)