1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

image/tarexport: fix error formatting

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Upstream-commit: a2eacff5c755d3257f453c9555526549bc3753b1
Component: engine
This commit is contained in:
Alexander Morozov
2016-05-02 10:26:32 -07:00
parent 8e492423bb
commit 8e29ebccd1

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