Merge pull request #7339 from thaJeztah/mount_deadcode
mount: remove unused ErrNotImplementOnWindows
This commit is contained in:
commit
00114fe314
@ -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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user