mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: updated cluster version
during cluster version update in etcd cluster, the log should info from XX to XX.
This commit is contained in:
parent
7da5182f1d
commit
aa1024a16e
@ -517,7 +517,7 @@ func (c *RaftCluster) SetVersion(ver *semver.Version, onSet func(*zap.Logger, *s
|
||||
zap.String("cluster-id", c.cid.String()),
|
||||
zap.String("local-member-id", c.localID.String()),
|
||||
zap.String("from", version.Cluster(c.version.String())),
|
||||
zap.String("from", version.Cluster(ver.String())),
|
||||
zap.String("to", version.Cluster(ver.String())),
|
||||
)
|
||||
} else {
|
||||
c.lg.Info(
|
||||
|
Loading…
x
Reference in New Issue
Block a user