mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
Merge pull request #20145 from baude/wslenablestart
wsl: machine start test
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user