raft: fix var name in comment

This commit is contained in:
Shawn Smith 2016-01-29 16:18:47 +09:00
parent 754967644d
commit edd823bba6

View File

@ -25,7 +25,7 @@ import (
// index is unavailable because it predates the last snapshot.
var ErrCompacted = errors.New("requested index is unavailable due to compaction")
// ErrOutOfDataSnap is returned by Storage.CreateSnapshot when a requested
// ErrSnapOutOfDate is returned by Storage.CreateSnapshot when a requested
// index is older than the existing snapshot.
var ErrSnapOutOfDate = errors.New("requested index is older than the existing snapshot")