mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #22457 from LK4D4/fix_error_format
image/tarexport: fix error formatting
This commit is contained in:
commit
ca95f64968
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ func (l *tarexporter) setParentID(id, parentID image.ID) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if !checkValidParent(img, parent) {
|
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)
|
return l.is.SetParent(id, parentID)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue