From 69380734310d4e49a675888f6f1bb25ef5caf172 Mon Sep 17 00:00:00 2001 From: Pablo Miranda Date: Mon, 9 Nov 2015 20:37:59 -0800 Subject: [PATCH] fixes english typos --- meta/config.go | 2 +- meta/store.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/config.go b/meta/config.go index 70ad03cace..6b292db2fb 100644 --- a/meta/config.go +++ b/meta/config.go @@ -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, diff --git a/meta/store.go b/meta/store.go index 78f5f6feca..2748766988 100644 --- a/meta/store.go +++ b/meta/store.go @@ -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 {