From d586c34b8aa74f42b31ff6bbb686c74c49fd00f6 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Wed, 15 Aug 2018 11:49:54 -0700 Subject: [PATCH] fix go style License: MIT Signed-off-by: Steven Allen --- fuse/ipns/ipns_unix.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuse/ipns/ipns_unix.go b/fuse/ipns/ipns_unix.go index 4ae990439..c39dd8497 100644 --- a/fuse/ipns/ipns_unix.go +++ b/fuse/ipns/ipns_unix.go @@ -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