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
commit 00114fe314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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