Skip to content

Commit

Permalink
Drop unused file.
Browse files Browse the repository at this point in the history
  • Loading branch information
preslavgerchev committed May 24, 2024
1 parent 413626d commit 87d7c46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
6 changes: 1 addition & 5 deletions providers/os/connection/device/linux/device_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ func (d *LinuxDeviceManager) IdentifyMountTargets(opts map[string]string) ([]*sn
}

func (d *LinuxDeviceManager) Mount(pi *snapshot.PartitionInfo) (string, error) {
scanDir, err := d.volumeMounter.MountP(pi)
if err != nil {
return "", err
}
return scanDir, nil
return d.volumeMounter.MountP(pi)
}

func (d *LinuxDeviceManager) UnmountAndClose() {
Expand Down
8 changes: 0 additions & 8 deletions providers/os/connection/device/shared/mountinfo.go

This file was deleted.

0 comments on commit 87d7c46

Please sign in to comment.