aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-16 09:14:05 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-16 09:14:05 -0800
commit1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1 (patch)
treeeaa221a960e59b1b73b6b76035787a603dd1892c /weed/filesys
parent1d88865869b554d72be8fe2629080bcd97cb8767 (diff)
downloadseaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.tar.xz
seaweedfs-1bf22c0b5b1ecd99cb1631800e5a6818e8d8d1b1.zip
go fmt
Diffstat (limited to 'weed/filesys')
-rw-r--r--weed/filesys/wfs.go4
-rw-r--r--weed/filesys/wfs_write.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go
index 48893f80a..d8f865be7 100644
--- a/weed/filesys/wfs.go
+++ b/weed/filesys/wfs.go
@@ -31,7 +31,7 @@ type Option struct {
Collection string
Replication string
TtlSec int32
- DiskType storage.DiskType
+ DiskType storage.DiskType
ChunkSizeLimit int64
ConcurrentWriters int
CacheDir string
@@ -178,7 +178,7 @@ func (wfs *WFS) Statfs(ctx context.Context, req *fuse.StatfsRequest, resp *fuse.
Collection: wfs.option.Collection,
Replication: wfs.option.Replication,
Ttl: fmt.Sprintf("%ds", wfs.option.TtlSec),
- DiskType: string(wfs.option.DiskType),
+ DiskType: string(wfs.option.DiskType),
}
glog.V(4).Infof("reading filer stats: %+v", request)
diff --git a/weed/filesys/wfs_write.go b/weed/filesys/wfs_write.go
index 903fed810..92ff5c8da 100644
--- a/weed/filesys/wfs_write.go
+++ b/weed/filesys/wfs_write.go
@@ -26,7 +26,7 @@ func (wfs *WFS) saveDataAsChunk(fullPath util.FullPath) filer.SaveDataAsChunkFun
Replication: wfs.option.Replication,
Collection: wfs.option.Collection,
TtlSec: wfs.option.TtlSec,
- DiskType: string(wfs.option.DiskType),
+ DiskType: string(wfs.option.DiskType),
DataCenter: wfs.option.DataCenter,
Path: string(fullPath),
}