mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-12-29 19:04:36 +08:00
[shell] use constant for hdd of type (#6337)
use constant for hdd of type
This commit is contained in:
committed by
GitHub
parent
4f6c989309
commit
ff1392f7f4
@@ -265,7 +265,7 @@ func TestBalance(t *testing.T) {
|
||||
func TestVolumeSelection(t *testing.T) {
|
||||
topologyInfo := parseOutput(topoData)
|
||||
|
||||
vids, err := collectVolumeIdsForTierChange(topologyInfo, 1000, types.ToDiskType("hdd"), "", 20.0, 0)
|
||||
vids, err := collectVolumeIdsForTierChange(topologyInfo, 1000, types.ToDiskType(types.HddType), "", 20.0, 0)
|
||||
if err != nil {
|
||||
t.Errorf("collectVolumeIdsForTierChange: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user