Fix store errors build conflict
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
parent
ca2ec3e33c
commit
82464fe949
@ -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