diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-17 16:16:53 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-09-17 16:20:10 -0400 |
commit | 8d3c7b4202ac0151417064b89dc35ae6717f2875 (patch) | |
tree | a99d665aa6ea1ce7c47fcc20cb2d8e549807380d /vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go | |
parent | f84f441bec8d4ad6b6dfce059ca71dbd2b0d9615 (diff) | |
download | podman-8d3c7b4202ac0151417064b89dc35ae6717f2875.tar.gz podman-8d3c7b4202ac0151417064b89dc35ae6717f2875.tar.bz2 podman-8d3c7b4202ac0151417064b89dc35ae6717f2875.zip |
Bump github.com/rootless-containers/rootlesskit from 0.10.0 to 0.10.1
Bumps [github.com/rootless-containers/rootlesskit](https://github.com/rootless-containers/rootlesskit) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/rootless-containers/rootlesskit/releases)
- [Commits](https://github.com/rootless-containers/rootlesskit/compare/v0.10.0...v0.10.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go')
-rw-r--r-- | vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go b/vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go index dc1869211..1eb8558c8 100644 --- a/vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go +++ b/vendor/github.com/moby/sys/mountinfo/mountinfo_unsupported.go @@ -8,10 +8,16 @@ import ( "runtime" ) +var errNotImplemented = fmt.Errorf("not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) + func parseMountTable(_ FilterFunc) ([]*Info, error) { - return nil, fmt.Errorf("mount.parseMountTable is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) + return nil, errNotImplemented } func parseInfoFile(_ io.Reader, f FilterFunc) ([]*Info, error) { return parseMountTable(f) } + +func mounted(path string) (bool, error) { + return false, errNotImplemented +} |