mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 07:07:25 +08:00
adjust volume server UI
This commit is contained in:
@@ -354,3 +354,10 @@ func (l *DiskLocation) CheckDiskSpace() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func (l *DiskLocation) GetDiskType() string {
|
||||
if l.DiskType == SsdType {
|
||||
return "SSD"
|
||||
}
|
||||
return "HDD"
|
||||
}
|
Reference in New Issue
Block a user