mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: fix typo
This commit is contained in:
parent
6fc0b1977b
commit
fbb874172c
@ -52,7 +52,7 @@ func (c *ServerConfig) ShouldDiscover() bool {
|
||||
return c.DiscoveryURL != ""
|
||||
}
|
||||
|
||||
// IsBootstrap returns ture if a bootstrap method is provided.
|
||||
// IsBootstrap returns true if a bootstrap method is provided.
|
||||
func (c *ServerConfig) IsBootstrap() bool {
|
||||
return c.DiscoveryURL != "" || c.ClusterState == ClusterStateValueNew
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user