mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 06:47:24 +08:00
volume.tier.move: passing non-empty disk type
This commit is contained in:
@@ -31,3 +31,10 @@ func (diskType DiskType) String() string {
|
||||
}
|
||||
return string(diskType)
|
||||
}
|
||||
|
||||
func (diskType DiskType) ReadableString() string {
|
||||
if diskType == "" {
|
||||
return "hdd"
|
||||
}
|
||||
return string(diskType)
|
||||
}
|
||||
|
Reference in New Issue
Block a user