1
0
Fork 0
master
Philip O'Toole 8 months ago committed by GitHub
parent dd70085204
commit 693a97f519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -126,7 +126,7 @@ func (s *Store) Create(version raft.SnapshotVersion, index, term uint64, configu
return &LockingSink{sink, s}, nil
}
// List returns a list of all the snapshots in the Store. In pratice, this will at most be
// List returns a list of all the snapshots in the Store. In practice, this will at most be
// a list of 1, and that will be the newest snapshot available.
func (s *Store) List() ([]*raft.SnapshotMeta, error) {
snapshots, err := s.getSnapshots()

Loading…
Cancel
Save