aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/disk_location_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/disk_location_test.go')
-rw-r--r--weed/storage/disk_location_test.go3
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,