mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00

We now use the golang error wrapping format specifier `%w` instead of the deprecated github.com/pkg/errors package. [NO NEW TESTS NEEDED] Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
12 lines
260 B
Go
12 lines
260 B
Go
//go:build darwin || windows
|
|
// +build darwin windows
|
|
|
|
package util
|
|
|
|
import "errors"
|
|
|
|
// FindDeviceNodes is not implemented anywhere except Linux.
|
|
func FindDeviceNodes() (map[string]string, error) {
|
|
return nil, errors.New("not supported on non-Linux OSes")
|
|
}
|