mount: remove unused ErrNotImplementOnWindows

This error was added in c5843b7615, but no longer
used since a5a9f91832, which implemented Windows
support.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2022-08-29 10:55:04 +02:00
parent bf8cdc2918
commit 9ae2cc3a8a
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

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