1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

Fix Graph() docstring

It's not true anymore, it used in builder for example.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Upstream-commit: 134772f91ec40616d974e61388638495c8a126fb
Component: engine
This commit is contained in:
Alexander Morozov
2015-10-29 11:41:39 -07:00
parent 09de1db703
commit 35f2f24931

View File

@@ -1006,12 +1006,7 @@ func (daemon *Daemon) createRootfs(container *Container) error {
return nil
}
// Graph needs to be removed.
//
// FIXME: this is a convenience function for integration tests
// which need direct access to daemon.graph.
// Once the tests switch to using engine and jobs, this method
// can go away.
// Graph returns *graph.Graph which can be using for layers graph operations.
func (daemon *Daemon) Graph() *graph.Graph {
return daemon.graph
}