Merge pull request #1045 from tonistiigi/err-fix
Fix store errors build conflict
This commit is contained in:
commit
13e7d3c393
@ -232,7 +232,7 @@ func (s *store) Writer(ctx context.Context, ref string, total int64, expected di
|
|||||||
if expected != "" {
|
if expected != "" {
|
||||||
p := s.blobPath(expected)
|
p := s.blobPath(expected)
|
||||||
if _, err := os.Stat(p); err == nil {
|
if _, err := os.Stat(p); err == nil {
|
||||||
return nil, ErrExists
|
return nil, ErrExists("")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user