Skip to content

Commit

Permalink
Update api.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ncabatoff authored Sep 25, 2023
1 parent e8ff322 commit 55f96de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ func (r *Raft) LeaderWithID() (ServerAddress, ServerID) {
//
// If a user snapshot is restored while the command is in-flight, an
// ErrAbortedByRestore is returned. In this case the write effectively failed
// since it's effects will not be present in the FSM after the restore.
// since its effects will not be present in the FSM after the restore.
func (r *Raft) Apply(cmd []byte, timeout time.Duration) ApplyFuture {
return r.ApplyLog(Log{Data: cmd}, timeout)
}
Expand Down

0 comments on commit 55f96de

Please sign in to comment.