summaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/bind
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/bind')
-rw-r--r--vendor/github.com/projectatomic/buildah/bind/mount_unsupported.go14
1 files changed, 1 insertions, 13 deletions
diff --git a/vendor/github.com/projectatomic/buildah/bind/mount_unsupported.go b/vendor/github.com/projectatomic/buildah/bind/mount_unsupported.go
index a8786955d..88ca2ca8b 100644
--- a/vendor/github.com/projectatomic/buildah/bind/mount_unsupported.go
+++ b/vendor/github.com/projectatomic/buildah/bind/mount_unsupported.go
@@ -3,23 +3,11 @@
package bind
import (
- "fmt"
- "os"
- "path/filepath"
- "sort"
- "strings"
- "syscall"
-
- "github.com/containers/storage/pkg/idtools"
- "github.com/containers/storage/pkg/mount"
"github.com/opencontainers/runtime-spec/specs-go"
- "github.com/pkg/errors"
- "github.com/sirupsen/logrus"
- "golang.org/x/sys/unix"
)
// SetupIntermediateMountNamespace returns a no-op unmountAll() and no error.
func SetupIntermediateMountNamespace(spec *specs.Spec, bundlePath string) (unmountAll func() error, err error) {
- stripNoBuildahBindOption(spec)
+ stripNoBindOption(spec)
return func() error { return nil }, nil
}