aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/swarm/fs.go')
-rw-r--r--cmd/swarm/fs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/swarm/fs.go b/cmd/swarm/fs.go
index edeeddff8..7f156523b 100644
--- a/cmd/swarm/fs.go
+++ b/cmd/swarm/fs.go
@@ -123,7 +123,7 @@ func listMounts(cliContext *cli.Context) {
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
- mf := []fuse.MountInfo{}
+ var mf []fuse.MountInfo
err = client.CallContext(ctx, &mf, "swarmfs_listmounts")
if err != nil {
utils.Fatalf("encountered an error calling the RPC endpoint while listing mounts: %v", err)