Browse code

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 <daehyeok@gmail.com>

Daehyeok.Mun authored on 2014/08/29 00:22:26
Showing 1 changed files
... ...
@@ -90,7 +90,6 @@ func (graph *Graph) Get(name string) (*image.Image, error) {
90 90
 	if err != nil {
91 91
 		return nil, err
92 92
 	}
93
-	// FIXME: return nil when the image doesn't exist, instead of an error
94 93
 	img, err := image.LoadImage(graph.ImageRoot(id))
95 94
 	if err != nil {
96 95
 		return nil, err