Skip to content

Commit

Permalink
fixed dev_other
Browse files Browse the repository at this point in the history
  • Loading branch information
dundee committed Feb 12, 2021
1 parent 26580b8 commit 2fa4c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device/dev_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ func (t OtherDevicesInfoGetter) GetDevicesInfo() (Devices, error) {
}

// GetMounts returns all mounted filesystems
func (t LinuxDevicesInfoGetter) GetMounts() (Devices, error) {
func (t OtherDevicesInfoGetter) GetMounts() (Devices, error) {
return nil, errors.New("Only Linux platform is supported for listing mount points")
}

0 comments on commit 2fa4c4b

Please sign in to comment.