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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user