Merge pull request from LK4D4/fix_error_format

image/tarexport: fix error formatting
This commit is contained in:
Aaron Lehmann 2016-05-02 17:27:27 -07:00
commit ca95f64968

View file

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