summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/testutil/docker.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/test/testutil/docker.go')
-rw-r--r--runsc/test/testutil/docker.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/runsc/test/testutil/docker.go b/runsc/test/testutil/docker.go
index 9a76397be..5a92a5835 100644
--- a/runsc/test/testutil/docker.go
+++ b/runsc/test/testutil/docker.go
@@ -297,15 +297,6 @@ func (d *Docker) SandboxPid() (int, error) {
return pid, nil
}
-// RootDirInHost returns where the root directory is mapped on the host.
-func (d *Docker) RootDirInHost() (string, error) {
- out, err := do("inspect", "-f={{.GraphDriver.Data.MergedDir}}", d.Name)
- if err != nil {
- return "", fmt.Errorf("error retrieving pid: %v", err)
- }
- return strings.TrimSuffix(string(out), "\n"), nil
-}
-
// ID returns the container ID.
func (d *Docker) ID() (string, error) {
out, err := do("inspect", "-f={{.Id}}", d.Name)