Browse Source

remove unused variable

pull/2008/head
Chris Lu 4 years ago
parent
commit
c83ab91e2e
  1. 1
      weed/command/mount_std.go
  2. 1
      weed/filesys/wfs.go

1
weed/command/mount_std.go

@ -191,7 +191,6 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
CacheDir: *option.cacheDir,
CacheSizeMB: *option.cacheSizeMB,
DataCenter: *option.dataCenter,
EntryCacheTtl: 3 * time.Second,
MountUid: uid,
MountGid: gid,
MountMode: mountMode,

1
weed/filesys/wfs.go

@ -41,7 +41,6 @@ type Option struct {
CacheDir string
CacheSizeMB int64
DataCenter string
EntryCacheTtl time.Duration
Umask os.FileMode
ReadOnly bool

Loading…
Cancel
Save