mount: remove unused ErrNotImplementOnWindows
This error was added inc5843b7615, but no longer used sincea5a9f91832, which implemented Windows support. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
		| @@ -18,7 +18,6 @@ package mount | |||||||
|  |  | ||||||
| import ( | import ( | ||||||
| 	"encoding/json" | 	"encoding/json" | ||||||
| 	"errors" |  | ||||||
| 	"fmt" | 	"fmt" | ||||||
| 	"os" | 	"os" | ||||||
| 	"path/filepath" | 	"path/filepath" | ||||||
| @@ -27,11 +26,6 @@ import ( | |||||||
| 	"github.com/Microsoft/hcsshim" | 	"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 | // Mount to the provided target | ||||||
| func (m *Mount) Mount(target string) error { | func (m *Mount) Mount(target string) error { | ||||||
| 	if m.Type != "windows-layer" { | 	if m.Type != "windows-layer" { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sebastiaan van Stijn
					Sebastiaan van Stijn