Browse code

fix a typo in graph/graph.go

Signed-off-by: Liu Hua <sdu.liu@huawei.com>

Liu Hua authored on 2015/08/13 20:58:17
Showing 1 changed files
... ...
@@ -397,7 +397,7 @@ func (graph *Graph) walkAll(handler func(*image.Image)) {
397 397
 }
398 398
 
399 399
 // ByParent returns a lookup table of images by their parent.
400
-// If an image of id ID has 3 children images, then the value for key ID
400
+// If an image of key ID has 3 children images, then the value for key ID
401 401
 // will be a list of 3 images.
402 402
 // If an image has no children, it will not have an entry in the table.
403 403
 func (graph *Graph) ByParent() map[string][]*image.Image {