Browse Source

fix(raft_server): add comment on version field

explain what the version field is for and why it is set to
releaseVersion
Brandon Philips 12 years ago
parent
commit
fc776f2ad6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      raft_server.go

+ 2 - 0
raft_server.go

@@ -36,6 +36,8 @@ func newRaftServer(name string, url string, tlsConf *TLSConfig, tlsInfo *TLSInfo
 
 	return &raftServer{
 		Server:  server,
+		// TODO: This will be the internal protocol version but tie it
+		// to the release tag for now.
 		version: releaseVersion,
 		name:    name,
 		url:     url,