Bladeren bron

etcdserver: fix typo

Xiang Li 11 jaren geleden
bovenliggende
commit
fbb874172c
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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
 }