1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 11:31:54 +08:00

files2.0: no error from Entries

License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
Łukasz Magiera
2018-11-24 04:51:43 +01:00
parent adc7490755
commit b10e718ab4
11 changed files with 15 additions and 18 deletions

View File

@ -391,7 +391,7 @@ And then run:
return err
}
it, _ := req.Files.Entries()
it := req.Files.Entries()
if !it.Next() && it.Err() != nil {
return it.Err()
}