Merge pull request #7339 from thaJeztah/mount_deadcode

mount: remove unused ErrNotImplementOnWindows
This commit is contained in:
Phil Estes
2022-08-30 11:37:35 -04:00
committed by GitHub

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