Merge pull request #1045 from tonistiigi/err-fix

Fix store errors build conflict
This commit is contained in:
Derek McGowan 2017-06-21 13:06:35 -07:00 committed by GitHub
commit 13e7d3c393

View File

@ -232,7 +232,7 @@ func (s *store) Writer(ctx context.Context, ref string, total int64, expected di
if expected != "" {
p := s.blobPath(expected)
if _, err := os.Stat(p); err == nil {
return nil, ErrExists
return nil, ErrExists("")
}
}