mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix(version): add raftVersion to the version file
This commit is contained in:
parent
fc776f2ad6
commit
3fff0a3c2b
@ -36,9 +36,7 @@ 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,
|
||||
version: raftVersion,
|
||||
name: name,
|
||||
url: url,
|
||||
tlsConf: tlsConf,
|
||||
|
@ -1,3 +1,8 @@
|
||||
package main
|
||||
|
||||
const version = "v1"
|
||||
|
||||
// TODO: The release version (generated from the git tag) will be the raft
|
||||
// protocol version for now. When things settle down we will fix it like the
|
||||
// client API above.
|
||||
const raftVersion = releaseVersion
|
||||
|
Loading…
x
Reference in New Issue
Block a user