mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Callers must in general have a reference to their Storage objects to transfer entries from Ready to Storage, so it doesn't make sense to create a hidden Storage for them. By explicitly creating Storage objects in tests we can remove a few casts of raftLog's storage field.