Xiang Li преди 11 години
родител
ревизия
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
 }
 }