mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 05:01:28 +00:00
Generate full-size SHA256 IDs for images and containers
This commit is contained in:
@@ -175,7 +175,7 @@ func ComputeId(content io.Reader) (string, error) {
|
||||
if _, err := io.Copy(h, content); err != nil {
|
||||
return "", err
|
||||
}
|
||||
return fmt.Sprintf("%x", h.Sum(nil)[:8]), nil
|
||||
return fmt.Sprintf("%x", h.Sum(nil)), nil
|
||||
}
|
||||
|
||||
// Image includes convenience proxy functions to its graph
|
||||
|
||||
Reference in New Issue
Block a user