From a112ee8959be5d0daf59efaaadd0d4b469971ffb Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Mon, 25 Sep 2023 19:59:26 -0500 Subject: [PATCH] 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 --- pkg/machine/wsl/machine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/machine/wsl/machine.go b/pkg/machine/wsl/machine.go index 4ded87d7ab..eba3acc263 100644 --- a/pkg/machine/wsl/machine.go +++ b/pkg/machine/wsl/machine.go @@ -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)