mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user