Skip to content

Commit

Permalink
Merge pull request #21644 from baude/wslremovepanic
Browse files Browse the repository at this point in the history
Replace panic with no-op
  • Loading branch information
openshift-merge-bot[bot] authored Feb 14, 2024
2 parents 07779e0 + f9bc9a8 commit 3d1f98e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/machine/wsl/stubber.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ func (w WSLStubber) GetHyperVisorVMs() ([]string, error) {
}

func (w WSLStubber) MountType() vmconfigs.VolumeMountType {
//TODO implement me
panic("implement me")
return vmconfigs.Unknown
}

func (w WSLStubber) MountVolumesToVM(mc *vmconfigs.MachineConfig, quiet bool) error {
Expand All @@ -133,7 +132,6 @@ func (w WSLStubber) RemoveAndCleanMachines(_ *define.MachineDirs) error {
return nil
}


func (w WSLStubber) SetProviderAttrs(mc *vmconfigs.MachineConfig, opts define.SetOptions) error {
mc.Lock()
defer mc.Unlock()
Expand Down

0 comments on commit 3d1f98e

Please sign in to comment.