mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix Graph() docstring
It's not true anymore, it used in builder for example. Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
8d62f243c7
commit
134772f91e
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue