mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
chore: fix function names (#26087)
Signed-off-by: depthlending <bikangning@outlook.com> Co-authored-by: Chris Capurso <1036769+ccapurso@users.noreply.github.com>
This commit is contained in:
@@ -149,7 +149,7 @@ func (f *BoltSnapshotStore) List() ([]*raft.SnapshotMeta, error) {
|
||||
return []*raft.SnapshotMeta{meta}, nil
|
||||
}
|
||||
|
||||
// getBoltSnapshotMeta returns the fsm's latest state and configuration.
|
||||
// getMetaFromFSM returns the fsm's latest state and configuration.
|
||||
func (f *BoltSnapshotStore) getMetaFromFSM() (*raft.SnapshotMeta, error) {
|
||||
latestIndex, latestConfig := f.fsm.LatestState()
|
||||
meta := &raft.SnapshotMeta{
|
||||
|
||||
Reference in New Issue
Block a user