mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: better version detection log output
Fix https://github.com/coreos/etcd/issues/3288
This commit is contained in:
parent
a17288558e
commit
0076ab154b
@ -152,8 +152,8 @@ func decideClusterVersion(vers map[string]*version.Versions) *semver.Version {
|
||||
return nil
|
||||
}
|
||||
if lv.LessThan(*v) {
|
||||
plog.Warningf("the etcd version %s is not up-to-date", lv.String())
|
||||
plog.Warningf("member %s has a higher version %s", mid, ver)
|
||||
plog.Warningf("the local etcd version %s is not up-to-date", lv.String())
|
||||
plog.Warningf("member %s has a higher version %s", mid, ver.Server)
|
||||
}
|
||||
if cv == nil {
|
||||
cv = v
|
||||
|
Loading…
x
Reference in New Issue
Block a user