From 58c4d9bd7ff9f4825de87e2fee7aa79a5a74fc4d Mon Sep 17 00:00:00 2001 From: "Daehyeok.Mun" Date: Fri, 29 Aug 2014 00:22:26 +0900 Subject: [PATCH] graph: remove obsolete comments Graph.Get function already returns nil when the image doesn't exist so following comment is obsolete. FIXME: return nil when the image doesn't exist, instead of an error Signed-off-by: Daehyeok.Mun Upstream-commit: 59d58352dfb66a12000d4b65f6c337c7936326e3 Component: engine --- components/engine/graph/graph.go | 1 - 1 file changed, 1 deletion(-) diff --git a/components/engine/graph/graph.go b/components/engine/graph/graph.go index b6bd524637..e6c9cb43d2 100644 --- a/components/engine/graph/graph.go +++ b/components/engine/graph/graph.go @@ -90,7 +90,6 @@ func (graph *Graph) Get(name string) (*image.Image, error) { if err != nil { return nil, err } - // FIXME: return nil when the image doesn't exist, instead of an error img, err := image.LoadImage(graph.ImageRoot(id)) if err != nil { return nil, err