1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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>
This commit is contained in:
Daehyeok.Mun 2014-08-29 00:22:26 +09:00
parent d244e8c379
commit 59d58352df

View file

@ -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