summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Milde <daniel@milde.cz>2021-02-12 21:05:47 +0100
committerDaniel Milde <daniel@milde.cz>2021-02-12 21:05:47 +0100
commit2fa4c4b9ed25ca782a143eb2398b319f5132c36a (patch)
tree562e9d12a5ab5ca3cc567918bb47d55916b1cfe4
parent26580b8b741afcb57d7f9a12582fcaa0a783fd08 (diff)
fixed dev_otherv4.5.0
-rw-r--r--device/dev_other.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/dev_other.go b/device/dev_other.go
index 7d253c3..ad0d1f8 100644
--- a/device/dev_other.go
+++ b/device/dev_other.go
@@ -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")
}