server: Move Storage interface to storage package

This commit is contained in:
Marek Siarkowicz
2021-10-06 13:53:06 +02:00
parent 703df1c491
commit d039f016c5
3 changed files with 26 additions and 11 deletions

View File

@ -529,7 +529,7 @@ func (b *bootstrappedRaft) newRaftNode(ss *snap.Snapshotter, wal *wal.WAL, cl *m
Node: n,
heartbeat: b.heartbeat,
raftStorage: b.storage,
storage: NewStorage(wal, ss),
storage: serverstorage.NewStorage(b.lg, wal, ss),
},
)
}