1
0
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:
Steven Allen
2019-03-27 14:46:29 +00:00
parent aedb722a2c
commit 1f293eff1b
49 changed files with 244 additions and 195 deletions

View File

@ -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