From 9ae2cc3a8ac084b46e48f75d9a758c6d11262a2b Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 29 Aug 2022 10:55:04 +0200 Subject: [PATCH] mount: remove unused ErrNotImplementOnWindows This error was added in c5843b761596564ba05f1a7f7b70c2368baf93ab, but no longer used since a5a9f91832f9f414a24626173ad5471df3abdb27, which implemented Windows support. Signed-off-by: Sebastiaan van Stijn --- mount/mount_windows.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mount/mount_windows.go b/mount/mount_windows.go index 87fed8268..f94c64347 100644 --- a/mount/mount_windows.go +++ b/mount/mount_windows.go @@ -18,7 +18,6 @@ package mount import ( "encoding/json" - "errors" "fmt" "os" "path/filepath" @@ -27,11 +26,6 @@ import ( "github.com/Microsoft/hcsshim" ) -var ( - // ErrNotImplementOnWindows is returned when an action is not implemented for windows - ErrNotImplementOnWindows = errors.New("not implemented under windows") -) - // Mount to the provided target func (m *Mount) Mount(target string) error { if m.Type != "windows-layer" {