Merge pull request #30112 from Microsoft/jjh/graphdriver
Windows: Remove redundant 'GraphDriver() func
This commit is contained in:
commit
1eafa0f706
|
@ -1,10 +1,6 @@
|
||||||
package layer
|
package layer
|
||||||
|
|
||||||
import (
|
import "errors"
|
||||||
"errors"
|
|
||||||
|
|
||||||
"github.com/docker/docker/daemon/graphdriver"
|
|
||||||
)
|
|
||||||
|
|
||||||
// GetLayerPath returns the path to a layer
|
// GetLayerPath returns the path to a layer
|
||||||
func GetLayerPath(s Store, layer ChainID) (string, error) {
|
func GetLayerPath(s Store, layer ChainID) (string, error) {
|
||||||
|
@ -36,7 +32,3 @@ func (ls *layerStore) mountID(name string) string {
|
||||||
// windows has issues if container ID doesn't match mount ID
|
// windows has issues if container ID doesn't match mount ID
|
||||||
return name
|
return name
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ls *layerStore) GraphDriver() graphdriver.Driver {
|
|
||||||
return ls.driver
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue