From a2eacff5c755d3257f453c9555526549bc3753b1 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Mon, 2 May 2016 10:26:32 -0700 Subject: [PATCH] image/tarexport: fix error formatting Signed-off-by: Alexander Morozov --- image/tarexport/load.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/tarexport/load.go b/image/tarexport/load.go index 25280d4491..efb09c573d 100644 --- a/image/tarexport/load.go +++ b/image/tarexport/load.go @@ -146,7 +146,7 @@ func (l *tarexporter) setParentID(id, parentID image.ID) error { return err } if !checkValidParent(img, parent) { - return fmt.Errorf("image %v is not a valid parent for %v", parent.ID, img.ID) + return fmt.Errorf("image %v is not a valid parent for %v", parent.ID(), img.ID()) } return l.is.SetParent(id, parentID) }