Fix store errors build conflict

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi 2017-06-21 12:49:33 -07:00
parent ca2ec3e33c
commit 82464fe949

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("")
}
}