Skip to content

Commit a890928

Browse files
author
Robbie McKinstry
authored
Merge pull request hashicorp#331 from epetrix/master
Merging PR for docstring change.
2 parents eba8343 + bb3d73c commit a890928

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

api.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -934,8 +934,9 @@ func (r *Raft) LastContact() time.Time {
934934
// "last_snapshot_index", "last_snapshot_term",
935935
// "latest_configuration", "last_contact", and "num_peers".
936936
//
937-
// The value of "state" is a numerical value representing a
938-
// RaftState const.
937+
// The value of "state" is a numeric constant representing one of
938+
// the possible leadership states the node is in at any given time.
939+
// the possible states are: "Follower", "Candidate", "Leader", "Shutdown".
939940
//
940941
// The value of "latest_configuration" is a string which contains
941942
// the id of each server, its suffrage status, and its address.

0 commit comments

Comments
 (0)