Xiang Li 11 лет назад
Родитель
Сommit
fbb874172c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      etcdserver/config.go

+ 1 - 1
etcdserver/config.go

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