Files
podman/pkg/util/utils_unsupported.go
Sascha Grunert a46f798831 pkg: switch to golang native error wrapping
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>
2022-07-08 08:54:47 +02:00

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