volume.tier.move: passing non-empty disk type

This commit is contained in:
Chris Lu
2021-02-22 01:59:03 -08:00
parent 5da63e045e
commit 30b30b8fe0
3 changed files with 11 additions and 4 deletions

View File

@@ -31,3 +31,10 @@ func (diskType DiskType) String() string {
}
return string(diskType)
}
func (diskType DiskType) ReadableString() string {
if diskType == "" {
return "hdd"
}
return string(diskType)
}