diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2024-12-10 18:43:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-10 08:43:59 -0800 |
| commit | ff1392f7f4a854d17dea13f6738a219d7bb2cf96 (patch) | |
| tree | 466a8d49a2015d4ae98b45c251320bc2bdd4805e /weed/storage/disk_location_test.go | |
| parent | 4f6c989309c0e8c5ab887ddc089f321401795b7d (diff) | |
| download | seaweedfs-ff1392f7f4a854d17dea13f6738a219d7bb2cf96.tar.xz seaweedfs-ff1392f7f4a854d17dea13f6738a219d7bb2cf96.zip | |
[shell] use constant for hdd of type (#6337)
use constant for hdd of type
Diffstat (limited to 'weed/storage/disk_location_test.go')
| -rw-r--r-- | weed/storage/disk_location_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/storage/disk_location_test.go b/weed/storage/disk_location_test.go index d105a477f..d2823588f 100644 --- a/weed/storage/disk_location_test.go +++ b/weed/storage/disk_location_test.go @@ -1,6 +1,7 @@ package storage import ( + "github.com/seaweedfs/seaweedfs/weed/storage/types" "testing" "time" @@ -40,7 +41,7 @@ func TestUnUsedSpace(t *testing.T) { Directory: "/test/", DirectoryUuid: "1234", IdxDirectory: "/test/", - DiskType: "hdd", + DiskType: types.HddType, MaxVolumeCount: 0, OriginalMaxVolumeCount: 0, MinFreeSpace: minFreeSpace, |
