diff options
| author | bingoohuang <bingoo.huang@gmail.com> | 2021-02-18 14:05:51 +0800 |
|---|---|---|
| committer | bingoohuang <bingoo.huang@gmail.com> | 2021-02-18 14:05:51 +0800 |
| commit | 352ac2f2712177d6a9c8220bab73823ff6748581 (patch) | |
| tree | 88b5976b0e9382883ba21a20098c319a8787c002 /weed/shell/command_ec_test.go | |
| parent | eab6e31d34bb22beeb1ca416596c44b1590075c0 (diff) | |
| parent | c8f56f5712c1efffc46de95a8057ed09c21da2db (diff) | |
| download | seaweedfs-352ac2f2712177d6a9c8220bab73823ff6748581.tar.xz seaweedfs-352ac2f2712177d6a9c8220bab73823ff6748581.zip | |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'weed/shell/command_ec_test.go')
| -rw-r--r-- | weed/shell/command_ec_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/shell/command_ec_test.go b/weed/shell/command_ec_test.go index 4fddcbea5..a1226adbb 100644 --- a/weed/shell/command_ec_test.go +++ b/weed/shell/command_ec_test.go @@ -126,7 +126,8 @@ func TestCommandEcBalanceVolumeEvenButRackUneven(t *testing.T) { func newEcNode(dc string, rack string, dataNodeId string, freeEcSlot int) *EcNode { return &EcNode{ info: &master_pb.DataNodeInfo{ - Id: dataNodeId, + Id: dataNodeId, + DiskInfos: make(map[string]*master_pb.DiskInfo), }, dc: dc, rack: RackId(rack), |
