Remove bundles from API
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
10
mount.go
10
mount.go
@@ -3,9 +3,6 @@ package containerd
|
||||
import (
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/docker/containerd/log"
|
||||
)
|
||||
|
||||
// Mount is the lingua franca of containerd. A mount represents a
|
||||
@@ -23,13 +20,6 @@ type Mount struct {
|
||||
|
||||
func (m *Mount) Mount(target string) error {
|
||||
flags, data := parseMountOptions(m.Options)
|
||||
|
||||
lfields := logrus.Fields{"target": target, "source": m.Source}
|
||||
if data != "" {
|
||||
lfields["data"] = data
|
||||
}
|
||||
log.L.WithFields(lfields).Debug("syscall.Mount")
|
||||
|
||||
return syscall.Mount(m.Source, target, m.Type, uintptr(flags), data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user