Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request goraft#140 from Scooletz/AppendVsCommitComment
Browse files Browse the repository at this point in the history
append vs commit comment changed
  • Loading branch information
benbjohnson committed Dec 18, 2013
2 parents 3892138 + 267449d commit faee071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log.go
Expand Up @@ -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()
Expand Down

0 comments on commit faee071

Please sign in to comment.