Generate full-size SHA256 IDs for images and containers
This commit is contained in:
parent
0d46ddf7b4
commit
190e2fa50f
1 changed files with 1 additions and 1 deletions
2
image.go
2
image.go
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue