aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/disk_location.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-02-13 15:42:42 -0800
committerChris Lu <chris.lu@gmail.com>2021-02-13 15:42:42 -0800
commit7ce647f27e756b8f09c0dc0c7ca687e243d91ae0 (patch)
treea3bd0ee96d153b2c4da1c4d6bf4aa82034452712 /weed/storage/disk_location.go
parent4bd8a692d80801f3864cf9ce4325908529a0f6ef (diff)
downloadseaweedfs-7ce647f27e756b8f09c0dc0c7ca687e243d91ae0.tar.xz
seaweedfs-7ce647f27e756b8f09c0dc0c7ca687e243d91ae0.zip
support customizable disk type
Diffstat (limited to 'weed/storage/disk_location.go')
-rw-r--r--weed/storage/disk_location.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go
index a7be3a559..7292c23f6 100644
--- a/weed/storage/disk_location.go
+++ b/weed/storage/disk_location.go
@@ -373,10 +373,3 @@ func (l *DiskLocation) CheckDiskSpace() {
}
}
-
-func (l *DiskLocation) GetDiskType() string {
- if l.DiskType == SsdType {
- return "SSD"
- }
- return "HDD"
-}