Browse Source

Merge pull request #41658 from thaJeztah/replace_deprecated_mount

testutil: remove remaining use of deprecated pkg/mount
Tibor Vass 4 years ago
parent
commit
228d800f5c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/types/mount/mount.go
  2. 1 1
      testutil/daemon/daemon_unix.go

+ 1 - 1
api/types/mount/mount.go

@@ -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,

+ 1 - 1
testutil/daemon/daemon_unix.go

@@ -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"
 )