From 2608b97ae50c9b07e636b0f28b326d2c6569cd7a Mon Sep 17 00:00:00 2001 From: Jitendra Bhurat Date: Tue, 4 Feb 2020 12:26:51 -0500 Subject: [PATCH] Updated the comment for checkIfNodeIsActive() to fix typo --- raft/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raft/api.go b/raft/api.go index 518b413f3..c03520248 100755 --- a/raft/api.go +++ b/raft/api.go @@ -118,8 +118,8 @@ func (s *PublicRaftAPI) Cluster() ([]ClusterInfo, error) { return clustInfo, nil } -// helper function to check of the raft node is active -// of the raftnode is active ActiveSince returns non-zero time +// checkIfNodeIsActive checks if the raft node is active +// if the raft node is active ActiveSince returns non-zero time func (s *PublicRaftAPI) checkIfNodeIsActive(raftId uint16) bool { if raftId == s.raftService.raftProtocolManager.raftId { return true