ipns_test: fix namesys.NewNameSystem() call
There is the following erreor otherwise: ``` $ go test github.com/ipfs/go-ipfs/fuse/ipns ../../fuse/ipns/ipns_test.go:116: not enough arguments in call to namesys.NewNameSystem FAIL github.com/ipfs/go-ipfs/fuse/ipns [build failed] ``` License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Christian Couder committed
Oct 20, 2015 at 10:41 UTC
9555ff110e460515260bc440250d6c2292a2aeb2
1 file changed
+1
-1
fuse/ipns/ipns_test.go
+1
-1
@@ -113,7 +113,7 @@ func setupIpnsTest(t *testing.T, node *core.IpfsNode) (*core.IpfsNode, *fstest.M
113
}
114
115
node.Routing = offroute.NewOfflineRouter(node.Repo.Datastore(), node.PrivateKey)
116
- node.Namesys = namesys.NewNameSystem(node.Routing)
116
+ node.Namesys = namesys.NewNameSystem(node.Routing, node.Repo.Datastore())
117
118
ipnsfs, err := nsfs.NewFilesystem(context.Background(), node.DAG, node.Namesys, node.Pinning, node.PrivateKey)
119
if err != nil {