瀏覽代碼

Merge pull request #17498 from LK4D4/fix_graph_comment

Fix Graph() docstring
Antonio Murdaca 9 年之前
父節點
當前提交
6b9de7342f
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      daemon/daemon.go

+ 1 - 6
daemon/daemon.go

@@ -1010,12 +1010,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
 }