diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-02-16 11:06:13 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-02-16 11:06:13 -0800 |
| commit | 632c94d4389dbccd1e1e765036b3c9785d44e5d5 (patch) | |
| tree | 65a29307f4079f6b539e97c405d65809d898e170 /weed/shell/command_ec_test.go | |
| parent | b9b5b932c5892f14da6b489a6907ffd8649a3eb5 (diff) | |
| parent | 0611233f16ff0e8f4b99aa6528f47153efd9a846 (diff) | |
| download | seaweedfs-632c94d4389dbccd1e1e765036b3c9785d44e5d5.tar.xz seaweedfs-632c94d4389dbccd1e1e765036b3c9785d44e5d5.zip | |
Merge branch 'extend_to_disk_type'
Diffstat (limited to 'weed/shell/command_ec_test.go')
| -rw-r--r-- | weed/shell/command_ec_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/shell/command_ec_test.go b/weed/shell/command_ec_test.go index 4fddcbea5..14235d565 100644 --- a/weed/shell/command_ec_test.go +++ b/weed/shell/command_ec_test.go @@ -127,6 +127,7 @@ func newEcNode(dc string, rack string, dataNodeId string, freeEcSlot int) *EcNod return &EcNode{ info: &master_pb.DataNodeInfo{ Id: dataNodeId, + DiskInfos: make(map[string]*master_pb.DiskInfo), }, dc: dc, rack: RackId(rack), |
