diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-12-13 00:58:58 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-12-13 00:58:58 -0800 |
| commit | e9cd798bd372741753efcba2af594b00fe7b8437 (patch) | |
| tree | e291019e7394a874a292ee90c832a65745f57fd4 /weed/filesys/wfs_write.go | |
| parent | 16cd6fb27838db95054701f5567c93d51bf24d5f (diff) | |
| download | seaweedfs-e9cd798bd372741753efcba2af594b00fe7b8437.tar.xz seaweedfs-e9cd798bd372741753efcba2af594b00fe7b8437.zip | |
adding volume type
Diffstat (limited to 'weed/filesys/wfs_write.go')
| -rw-r--r-- | weed/filesys/wfs_write.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/filesys/wfs_write.go b/weed/filesys/wfs_write.go index 83e40e7f5..00a7445c8 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, + VolumeType: string(wfs.option.VolumeType), DataCenter: wfs.option.DataCenter, Path: string(fullPath), } |
