瀏覽代碼

etcdserver: fix typo

Xiang Li 12 年之前
父節點
當前提交
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 != ""
 	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
 }
 }