1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #41658 from thaJeztah/replace_deprecated_mount

testutil: remove remaining use of deprecated pkg/mount
This commit is contained in:
Tibor Vass 2020-11-10 12:41:03 -08:00 committed by GitHub
commit 228d800f5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ type TmpfsOptions struct {
// TODO(stevvooe): There are several more tmpfs flags, specified in the
// daemon, that are accepted. Only the most basic are added for now.
//
// From docker/docker/pkg/mount/flags.go:
// From https://github.com/moby/sys/blob/mount/v0.1.1/mount/flags.go#L47-L56
//
// var validFlags = map[string]bool{
// "": true,

View file

@ -11,7 +11,7 @@ import (
"syscall"
"testing"
"github.com/docker/docker/pkg/mount"
"github.com/moby/sys/mount"
"golang.org/x/sys/unix"
"gotest.tools/v3/assert"
)