mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 21:51:33 +00:00
Rename 'GraphPath' to the more logical 'Root'. This does not affect users except for a slight text change in the usage messge
This commit is contained in:
+3
-3
@@ -46,8 +46,8 @@ func nuke(runtime *Runtime) error {
|
||||
wg.Wait()
|
||||
runtime.Close()
|
||||
|
||||
os.Remove(filepath.Join(runtime.config.GraphPath, "linkgraph.db"))
|
||||
return os.RemoveAll(runtime.config.GraphPath)
|
||||
os.Remove(filepath.Join(runtime.config.Root, "linkgraph.db"))
|
||||
return os.RemoveAll(runtime.config.Root)
|
||||
}
|
||||
|
||||
func cleanup(runtime *Runtime) error {
|
||||
@@ -119,7 +119,7 @@ func init() {
|
||||
|
||||
func setupBaseImage() {
|
||||
config := &DaemonConfig{
|
||||
GraphPath: unitTestStoreBase,
|
||||
Root: unitTestStoreBase,
|
||||
AutoRestart: false,
|
||||
BridgeIface: unitTestNetworkBridge,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user