From 2fa4c4b9ed25ca782a143eb2398b319f5132c36a Mon Sep 17 00:00:00 2001 From: Daniel Milde Date: Fri, 12 Feb 2021 21:05:47 +0100 Subject: [PATCH] fixed dev_other --- device/dev_other.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/dev_other.go b/device/dev_other.go index 7d253c31e..ad0d1f825 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") }