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") }