mirror of
https://github.com/ipfs/kubo.git
synced 2025-05-20 16:36:46 +08:00
chore: fix a bunch of issues caught by golangci-lint
Most of these are probably harmless but a few looked like they might actually be bugs. Most of them are just faulty tests. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
@ -168,6 +168,9 @@ var filesStatCmd = &cmds.Command{
|
||||
}
|
||||
|
||||
local, sizeLocal, err := walkBlock(req.Context, dagserv, nd)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
o.WithLocality = true
|
||||
o.Local = local
|
||||
|
Reference in New Issue
Block a user