Files
podman/vendor/github.com/projectatomic/buildah/bind/mount_unsupported.go
baude e1b47c1507 Vendor in latest buildah
Signed-off-by: baude <bbaude@redhat.com>

Closes: #1007
Approved by: baude
2018-06-27 15:16:02 +00:00

14 lines
354 B
Go

// +build !linux
package bind
import (
"github.com/opencontainers/runtime-spec/specs-go"
)
// SetupIntermediateMountNamespace returns a no-op unmountAll() and no error.
func SetupIntermediateMountNamespace(spec *specs.Spec, bundlePath string) (unmountAll func() error, err error) {
stripNoBindOption(spec)
return func() error { return nil }, nil
}