aboutsummaryrefslogtreecommitdiff
path: root/weed/command/fuse.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-08-16 23:47:43 -0700
committerchrislu <chris.lu@gmail.com>2023-08-16 23:47:43 -0700
commit3852307e9444595f1cf5db15b703493886c3248e (patch)
treeb0543cdd7df6a16f2c77f7ed23a22756db7df843 /weed/command/fuse.go
parent6c7fa567d4b94790f213d0546b365a4e989a0e3d (diff)
downloadseaweedfs-3852307e9444595f1cf5db15b703493886c3248e.tar.xz
seaweedfs-3852307e9444595f1cf5db15b703493886c3248e.zip
renaming
Diffstat (limited to 'weed/command/fuse.go')
-rw-r--r--weed/command/fuse.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/command/fuse.go b/weed/command/fuse.go
index 23055c84d..beed3349e 100644
--- a/weed/command/fuse.go
+++ b/weed/command/fuse.go
@@ -146,15 +146,15 @@ func runFuse(cmd *Command, args []string) bool {
panic(fmt.Errorf("concurrentWriters: %s", err))
}
case "cacheDir":
- mountOptions.cacheDir = &parameter.value
+ mountOptions.cacheDirForRead = &parameter.value
case "cacheCapacityMB":
if parsed, err := strconv.ParseInt(parameter.value, 0, 64); err == nil {
- mountOptions.cacheSizeMB = &parsed
+ mountOptions.cacheSizeMBForRead = &parsed
} else {
panic(fmt.Errorf("cacheCapacityMB: %s", err))
}
case "cacheDirWrite":
- mountOptions.cacheDirWrite = &parameter.value
+ mountOptions.cacheDirForWrite = &parameter.value
case "dataCenter":
mountOptions.dataCenter = &parameter.value
case "allowOthers":