diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-07 09:49:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-07 09:49:56 -0400 |
commit | d83e94a5146f0d5d8da39bea5ab4d3e497473c6f (patch) | |
tree | 6054bb84d6f2cbd62621cd1b3ee52178b11d1825 /vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go | |
parent | 15375b549f5f86e773904ce4cf97fdcf1d5dcbb8 (diff) | |
parent | b62fa769f8f5ccc982a2566b4c4af0b7096298f3 (diff) | |
download | podman-d83e94a5146f0d5d8da39bea5ab4d3e497473c6f.tar.gz podman-d83e94a5146f0d5d8da39bea5ab4d3e497473c6f.tar.bz2 podman-d83e94a5146f0d5d8da39bea5ab4d3e497473c6f.zip |
Merge pull request #7539 from containers/dependabot/go_modules/github.com/containers/storage-1.23.4
Bump github.com/containers/storage from 1.23.2 to 1.23.4
Diffstat (limited to 'vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go')
-rw-r--r-- | vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go b/vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go new file mode 100644 index 000000000..dc1869211 --- /dev/null +++ b/vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go @@ -0,0 +1,17 @@ +// +build !windows,!linux,!freebsd freebsd,!cgo + +package mountinfo + +import ( + "fmt" + "io" + "runtime" +) + +func parseMountTable(_ FilterFunc) ([]*Info, error) { + return nil, fmt.Errorf("mount.parseMountTable is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) +} + +func parseInfoFile(_ io.Reader, f FilterFunc) ([]*Info, error) { + return parseMountTable(f) +} |