Trivial fix: Fix some typos in comments

Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
This commit is contained in:
Kim Bao Long 2019-02-21 09:07:49 +07:00
parent c8a1a5a93c
commit 94f5352951
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ var (
)
// CatalogService is copied from https://github.com/hashicorp/consul/blob/master/api/catalog.go
// this struct respresents the response from a /service/<service-name> request.
// this struct represents the response from a /service/<service-name> request.
// Consul License: https://github.com/hashicorp/consul/blob/master/LICENSE
type CatalogService struct {
ID string
@ -169,7 +169,7 @@ func (d *discovery) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
}
var tgs []*targetgroup.Group
// Note that we treat errors when querying specific consul services as fatal for for this
// Note that we treat errors when querying specific consul services as fatal for this
// iteration of the time.Tick loop. It's better to have some stale targets than an incomplete
// list of targets simply because there may have been a timeout. If the service is actually
// gone as far as consul is concerned, that will be picked up during the next iteration of