adjust volume server UI

This commit is contained in:
Chris Lu
2020-12-14 00:51:57 -08:00
parent bf5873022d
commit 2e8dba571b
6 changed files with 476 additions and 450 deletions

View File

@@ -354,3 +354,10 @@ func (l *DiskLocation) CheckDiskSpace() {
}
}
func (l *DiskLocation) GetDiskType() string {
if l.DiskType == SsdType {
return "SSD"
}
return "HDD"
}