Update daemon.go
fix go-lint
Hucg committed
Nov 15, 2019 at 16:11 UTC
e9578d3f43da1edd059f4adc70c651689aad5011
1 file changed
+1
-1
cmd/ipfs/daemon.go
+1
-1
@@ -354,7 +354,7 @@ func daemonFunc(req *cmds.Request, re cmds.ResponseEmitter, env cmds.Environment
354
// We wait for the node to close first, as the node has children
355
// that it will wait for before closing, such as the API server.
356
node.Close()
357
- coreapi.CloseFakeRepo()
357
+ _ = coreapi.CloseFakeRepo()
358
359
select {
360
case <-req.Context.Done():