Merge pull request #30112 from Microsoft/jjh/graphdriver

Windows: Remove redundant 'GraphDriver() func
This commit is contained in:
Alexander Morozov 2017-01-13 13:59:12 -08:00 committed by GitHub
commit 1eafa0f706
1 changed files with 1 additions and 9 deletions

View File

@ -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
}