Browse code

Fix Graph() docstring

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

Signed-off-by: Alexander Morozov <lk4d4@docker.com>

Alexander Morozov authored on 2015/10/30 03:41:39
Showing 1 changed files
... ...
@@ -1006,12 +1006,7 @@ func (daemon *Daemon) createRootfs(container *Container) error {
1006 1006
 	return nil
1007 1007
 }
1008 1008
 
1009
-// Graph needs to be removed.
1010
-//
1011
-// FIXME: this is a convenience function for integration tests
1012
-// which need direct access to daemon.graph.
1013
-// Once the tests switch to using engine and jobs, this method
1014
-// can go away.
1009
+// Graph returns *graph.Graph which can be using for layers graph operations.
1015 1010
 func (daemon *Daemon) Graph() *graph.Graph {
1016 1011
 	return daemon.graph
1017 1012
 }