etcdserver: move "unsafe" flags to bottom

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee 2018-03-23 05:25:20 -07:00
parent cfd8b3e86d
commit 9af05a45d4

View File

@ -44,7 +44,6 @@ type ServerConfig struct {
InitialPeerURLsMap types.URLsMap
InitialClusterToken string
NewCluster bool
ForceNewCluster bool
PeerTLSInfo transport.TLSInfo
// HostWhitelist lists acceptable hostnames from client requests.
@ -80,6 +79,8 @@ type ServerConfig struct {
PreVote bool
Debug bool
ForceNewCluster bool
}
// VerifyBootstrap sanity-checks the initial config for bootstrap case