Pārlūkot izejas kodu

testutil: remove remaining use of deprecated pkg/mount

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 4 gadi atpakaļ
vecāks
revīzija
6d243cdf27
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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"
 )