fixes english typos

pull/4705/head
Pablo Miranda 2015-11-09 20:37:59 -08:00
parent b2195d03a8
commit 6938073431
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ type Config struct {
ClusterTracing bool `toml:"cluster-tracing"`
}
// NewConfig build a new configuration with default values.
// NewConfig builds a new configuration with default values.
func NewConfig() *Config {
return &Config{
Hostname: DefaultHostname,

View File

@ -1200,7 +1200,7 @@ func (s *Store) ShardGroupByTimestamp(database, policy string, timestamp time.Ti
return
}
// ShardOwner look up for a specific shard and return the shard group information
// ShardOwner looks up for a specific shard and return the shard group information
// related with the shard.
func (s *Store) ShardOwner(shardID uint64) (database, policy string, sgi *ShardGroupInfo) {
s.read(func(data *Data) error {