mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows: Remove redundant 'GraphDriver() func
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
f018c0dfff
commit
2cd8bcd7df
1 changed files with 1 additions and 9 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue