mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: re-order ServerConfig fields
This commit is contained in:
parent
c4f273478d
commit
a607e097c6
@ -271,8 +271,8 @@ func startEtcd() error {
|
||||
DiscoveryURL: *durl,
|
||||
DiscoveryProxy: *dproxy,
|
||||
NewCluster: clusterStateFlag.String() == clusterStateFlagNew,
|
||||
Transport: pt,
|
||||
ForceNewCluster: *forceNewCluster,
|
||||
Transport: pt,
|
||||
}
|
||||
var s *etcdserver.EtcdServer
|
||||
s, err = etcdserver.NewServer(cfg)
|
||||
|
@ -35,8 +35,8 @@ type ServerConfig struct {
|
||||
SnapCount uint64
|
||||
Cluster *Cluster
|
||||
NewCluster bool
|
||||
Transport *http.Transport
|
||||
ForceNewCluster bool
|
||||
Transport *http.Transport
|
||||
}
|
||||
|
||||
// VerifyBootstrapConfig sanity-checks the initial config and returns an error
|
||||
|
Loading…
x
Reference in New Issue
Block a user