aboutsummaryrefslogtreecommitdiff
path: root/weed/filer/entry_codec.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-13 11:59:32 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-13 11:59:32 -0800
commit0d2ec832e2ced90371f2c5549b175d5b93becd1a (patch)
tree8f4fddcc88491331b0e395c1606b8cb9d6d00513 /weed/filer/entry_codec.go
parent715b199eeb6fbd3f028b99e42097096fdcac5e09 (diff)
downloadseaweedfs-0d2ec832e2ced90371f2c5549b175d5b93becd1a.tar.xz
seaweedfs-0d2ec832e2ced90371f2c5549b175d5b93becd1a.zip
rename from volumeType to diskType
Diffstat (limited to 'weed/filer/entry_codec.go')
-rw-r--r--weed/filer/entry_codec.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/filer/entry_codec.go b/weed/filer/entry_codec.go
index 45b391436..cc7353974 100644
--- a/weed/filer/entry_codec.go
+++ b/weed/filer/entry_codec.go
@@ -56,7 +56,7 @@ func EntryAttributeToPb(entry *Entry) *filer_pb.FuseAttributes {
Collection: entry.Attr.Collection,
Replication: entry.Attr.Replication,
TtlSec: entry.Attr.TtlSec,
- VolumeType: entry.Attr.VolumeType,
+ DiskType: entry.Attr.DiskType,
UserName: entry.Attr.UserName,
GroupName: entry.Attr.GroupNames,
SymlinkTarget: entry.Attr.SymlinkTarget,
@@ -82,7 +82,7 @@ func PbToEntryAttribute(attr *filer_pb.FuseAttributes) Attr {
t.Collection = attr.Collection
t.Replication = attr.Replication
t.TtlSec = attr.TtlSec
- t.VolumeType = attr.VolumeType
+ t.DiskType = attr.DiskType
t.UserName = attr.UserName
t.GroupNames = attr.GroupName
t.SymlinkTarget = attr.SymlinkTarget