fix(raft_server): add comment on version field

explain what the version field is for and why it is set to
releaseVersion
This commit is contained in:
Brandon Philips
2013-08-18 21:46:59 -07:00
parent e79f6842bb
commit fc776f2ad6

View File

@@ -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,