etcdserver: re-order ServerConfig fields

This commit is contained in:
Jonathan Boulle 2014-11-07 10:31:19 -08:00
parent c4f273478d
commit a607e097c6
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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