Remove deprecated environment.DockerBasePath()

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2018-01-15 15:28:10 +01:00
parent 6415f1dcf5
commit 142b1f8bfb
6 changed files with 11 additions and 18 deletions

View File

@@ -49,13 +49,6 @@ func New() (*Execution, error) {
}, nil
}
// DockerBasePath is the base path of the docker folder (by default it is -/var/run/docker)
// TODO: remove
// Deprecated: use Execution.DaemonInfo.DockerRootDir
func (e *Execution) DockerBasePath() string {
return e.DaemonInfo.DockerRootDir
}
// ExperimentalDaemon tell whether the main daemon has
// experimental features enabled or not
// Deprecated: use DaemonInfo.ExperimentalBuild