diff options
Diffstat (limited to 'swarm/fuse/swarmfs.go')
-rw-r--r-- | swarm/fuse/swarmfs.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swarm/fuse/swarmfs.go b/swarm/fuse/swarmfs.go index e56d0ad4e..c7aa983b7 100644 --- a/swarm/fuse/swarmfs.go +++ b/swarm/fuse/swarmfs.go @@ -39,12 +39,12 @@ var ( ) type SwarmFS struct { - swarmApi *api.Api + swarmApi *api.API activeMounts map[string]*MountInfo swarmFsLock *sync.RWMutex } -func NewSwarmFS(api *api.Api) *SwarmFS { +func NewSwarmFS(api *api.API) *SwarmFS { swarmfsLock.Do(func() { swarmfs = &SwarmFS{ swarmApi: api, |