From 35f2f249314e08088864bc42fb21ef0caddfea22 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Thu, 29 Oct 2015 11:41:39 -0700 Subject: [PATCH] Fix Graph() docstring It's not true anymore, it used in builder for example. Signed-off-by: Alexander Morozov Upstream-commit: 134772f91ec40616d974e61388638495c8a126fb Component: engine --- components/engine/daemon/daemon.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/components/engine/daemon/daemon.go b/components/engine/daemon/daemon.go index ec9a759f77..5ab1cd0548 100644 --- a/components/engine/daemon/daemon.go +++ b/components/engine/daemon/daemon.go @@ -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 }