From 6d243cdf27bc9cd4caf5b33b7096f2cd1f6e735a Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 10 Nov 2020 14:46:59 +0100 Subject: [PATCH] testutil: remove remaining use of deprecated pkg/mount Signed-off-by: Sebastiaan van Stijn --- api/types/mount/mount.go | 2 +- testutil/daemon/daemon_unix.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/types/mount/mount.go b/api/types/mount/mount.go index ab4446b38f..443b8d07a9 100644 --- a/api/types/mount/mount.go +++ b/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, diff --git a/testutil/daemon/daemon_unix.go b/testutil/daemon/daemon_unix.go index 8b7e53f50e..788f420243 100644 --- a/testutil/daemon/daemon_unix.go +++ b/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" )