diff --git a/weed/shell/command_volume_server_evacuate_test.go b/weed/shell/command_volume_server_evacuate_test.go index 4563f38ba..3983c62e1 100644 --- a/weed/shell/command_volume_server_evacuate_test.go +++ b/weed/shell/command_volume_server_evacuate_test.go @@ -6,7 +6,12 @@ import ( ) func TestVolumeServerEvacuate(t *testing.T) { - c := commandVolumeServerEvacuate{} + targetServer := "" + volumeRack := "rack1" + c := commandVolumeServerEvacuate{ + targetServer: &targetServer, + volumeRack: &volumeRack, + } c.topologyInfo = parseOutput(topoData) volumeServer := "192.168.1.4:8080"