lib/model: Use errors.Wrap for pull errors (#5563)
This commit is contained in:
committed by
Audrius Butkevicius
parent
0f80318ef6
commit
6940d79f5b
@@ -488,7 +488,7 @@ func TestDeregisterOnFailInCopy(t *testing.T) {
|
||||
toPull := <-pullChan
|
||||
|
||||
// Close the file, causing errors on further access
|
||||
toPull.sharedPullerState.fail("test", os.ErrNotExist)
|
||||
toPull.sharedPullerState.fail(os.ErrNotExist)
|
||||
|
||||
// Unblock copier
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user