aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/wfs_write.go
diff options
context:
space:
mode:
authorbingoohuang <bingoo.huang@gmail.com>2021-02-18 14:05:51 +0800
committerbingoohuang <bingoo.huang@gmail.com>2021-02-18 14:05:51 +0800
commit352ac2f2712177d6a9c8220bab73823ff6748581 (patch)
tree88b5976b0e9382883ba21a20098c319a8787c002 /weed/filesys/wfs_write.go
parenteab6e31d34bb22beeb1ca416596c44b1590075c0 (diff)
parentc8f56f5712c1efffc46de95a8057ed09c21da2db (diff)
downloadseaweedfs-352ac2f2712177d6a9c8220bab73823ff6748581.tar.xz
seaweedfs-352ac2f2712177d6a9c8220bab73823ff6748581.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'weed/filesys/wfs_write.go')
-rw-r--r--weed/filesys/wfs_write.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/filesys/wfs_write.go b/weed/filesys/wfs_write.go
index 4e1e71672..dbec3bebc 100644
--- a/weed/filesys/wfs_write.go
+++ b/weed/filesys/wfs_write.go
@@ -26,6 +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),
DataCenter: wfs.option.DataCenter,
Path: string(fullPath),
}