From 59d58352dfb66a12000d4b65f6c337c7936326e3 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 --- graph/graph.go | 1 - 1 file changed, 1 deletion(-) diff --git a/graph/graph.go b/graph/graph.go index b6bd524637..e6c9cb43d2 100644 --- a/graph/graph.go +++ b/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