append vs commit comment changed

pull/820/head
Scooletz 2013-12-17 22:33:11 +01:00
parent 3892138807
commit 267449da18
1 changed files with 1 additions and 1 deletions

2
log.go
View File

@ -333,7 +333,7 @@ func (l *Log) commitInfo() (index uint64, term uint64) {
return entry.Index, entry.Term
}
// Retrieves the last index and term that has been committed to the log.
// Retrieves the last index and term that has been appended to the log.
func (l *Log) lastInfo() (index uint64, term uint64) {
l.mutex.RLock()
defer l.mutex.RUnlock()