Browse code

Merge pull request #17498 from LK4D4/fix_graph_comment

Fix Graph() docstring

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