mirror of
https://github.com/containers/podman.git
synced 2025-11-29 09:37:38 +08:00
lint: reenable revive unused-parameter check
Signed-off-by: Matt Souza <medsouz99@gmail.com>
This commit is contained in:
@@ -5,6 +5,6 @@ package util
|
||||
import "errors"
|
||||
|
||||
// FindDeviceNodes is not implemented anywhere except Linux.
|
||||
func FindDeviceNodes(onlyBlockDevices bool) (map[string]string, error) {
|
||||
func FindDeviceNodes(_ bool) (map[string]string, error) {
|
||||
return nil, errors.New("not supported on non-Linux OSes")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user