Merge pull request #179 from philips/fix-spelling-error

pysical: minor doc error in consul
This commit is contained in:
Seth Vargo 2015-05-09 10:15:07 -04:00
commit ea01eed4f1

View file

@ -99,7 +99,7 @@ func (c *ConsulBackend) Delete(key string) error {
return err return err
} }
// List is used ot list all the keys under a given // List is used to list all the keys under a given
// prefix, up to the next prefix. // prefix, up to the next prefix.
func (c *ConsulBackend) List(prefix string) ([]string, error) { func (c *ConsulBackend) List(prefix string) ([]string, error) {
defer metrics.MeasureSince([]string{"consul", "list"}, time.Now()) defer metrics.MeasureSince([]string{"consul", "list"}, time.Now())