Parcourir la source

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 il y a 11 ans
Parent
commit
59d58352df
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      graph/graph.go

+ 0 - 1
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