fixes english typos
parent
b2195d03a8
commit
6938073431
|
@ -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,
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue