mirror of
https://github.com/containers/podman.git
synced 2025-11-08 10:57:06 +08:00
Merge pull request #21644 from baude/wslremovepanic
Replace panic with no-op
This commit is contained in:
@ -107,8 +107,7 @@ func (w WSLStubber) GetHyperVisorVMs() ([]string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (w WSLStubber) MountType() vmconfigs.VolumeMountType {
|
func (w WSLStubber) MountType() vmconfigs.VolumeMountType {
|
||||||
//TODO implement me
|
return vmconfigs.Unknown
|
||||||
panic("implement me")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w WSLStubber) MountVolumesToVM(mc *vmconfigs.MachineConfig, quiet bool) error {
|
func (w WSLStubber) MountVolumesToVM(mc *vmconfigs.MachineConfig, quiet bool) error {
|
||||||
@ -133,7 +132,6 @@ func (w WSLStubber) RemoveAndCleanMachines(_ *define.MachineDirs) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (w WSLStubber) SetProviderAttrs(mc *vmconfigs.MachineConfig, opts define.SetOptions) error {
|
func (w WSLStubber) SetProviderAttrs(mc *vmconfigs.MachineConfig, opts define.SetOptions) error {
|
||||||
mc.Lock()
|
mc.Lock()
|
||||||
defer mc.Unlock()
|
defer mc.Unlock()
|
||||||
|
|||||||
Reference in New Issue
Block a user