Skip to content

Commit

Permalink
Merge pull request hashicorp#331 from epetrix/master
Browse files Browse the repository at this point in the history
Merging PR for docstring change.
  • Loading branch information
Robbie McKinstry authored May 17, 2019
2 parents eba8343 + bb3d73c commit a890928
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -934,8 +934,9 @@ func (r *Raft) LastContact() time.Time {
// "last_snapshot_index", "last_snapshot_term",
// "latest_configuration", "last_contact", and "num_peers".
//
// The value of "state" is a numerical value representing a
// RaftState const.
// The value of "state" is a numeric constant representing one of
// the possible leadership states the node is in at any given time.
// the possible states are: "Follower", "Candidate", "Leader", "Shutdown".
//
// The value of "latest_configuration" is a string which contains
// the id of each server, its suffrage status, and its address.
Expand Down

0 comments on commit a890928

Please sign in to comment.