etcdserver: fix typo

This commit is contained in:
Xiang Li 2014-10-13 10:42:50 +08:00
parent 6fc0b1977b
commit fbb874172c

View File

@ -52,7 +52,7 @@ func (c *ServerConfig) ShouldDiscover() bool {
return c.DiscoveryURL != "" 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 { func (c *ServerConfig) IsBootstrap() bool {
return c.DiscoveryURL != "" || c.ClusterState == ClusterStateValueNew return c.DiscoveryURL != "" || c.ClusterState == ClusterStateValueNew
} }