From 94f53529513eb2d04374e98c84e074a0f59c5b8f Mon Sep 17 00:00:00 2001 From: Kim Bao Long Date: Thu, 21 Feb 2019 09:07:49 +0700 Subject: [PATCH] Trivial fix: Fix some typos in comments Co-Authored-By: Nguyen Phuong An Signed-off-by: Kim Bao Long --- documentation/examples/custom-sd/adapter-usage/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/examples/custom-sd/adapter-usage/main.go b/documentation/examples/custom-sd/adapter-usage/main.go index 5315cbc47..dcdff9264 100644 --- a/documentation/examples/custom-sd/adapter-usage/main.go +++ b/documentation/examples/custom-sd/adapter-usage/main.go @@ -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/ request. +// this struct represents the response from a /service/ 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