Skip to content

Commit

Permalink
Merge pull request #20145 from baude/wslenablestart
Browse files Browse the repository at this point in the history
wsl: machine start test
  • Loading branch information
openshift-merge-robot authored Sep 26, 2023
2 parents aebfde2 + a112ee8 commit a018fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machine/wsl/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a018fe7

Please sign in to comment.