1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-23 05:35:58 +08:00

fix go style

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2018-08-15 11:49:54 -07:00
parent bde04e3843
commit d586c34b8a

View File

@ -196,8 +196,8 @@ func (s *Root) Lookup(ctx context.Context, name string) (fs.Node, error) {
}
// other links go through ipns resolution and are symlinked into the ipfs mountpoint
ipns_name := "/ipns/" + name
resolved, err := s.Ipfs.Namesys.Resolve(s.Ipfs.Context(), ipns_name)
ipnsName := "/ipns/" + name
resolved, err := s.Ipfs.Namesys.Resolve(s.Ipfs.Context(), ipnsName)
if err != nil {
log.Warningf("ipns: namesys resolve error: %s", err)
return nil, fuse.ENOENT