From 3908ef611a6b9f12230f8755f7fa4bf8c2aa74c2 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 28 Jul 2020 10:44:05 +0200 Subject: [PATCH] Fix documenation for ECS --- docs/content/providers/ecs.md | 32 ++++++++++++++++++++++--- integration/helloworld/helloworld.pb.go | 2 -- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/docs/content/providers/ecs.md b/docs/content/providers/ecs.md index f4720640c..22e4fd57a 100644 --- a/docs/content/providers/ecs.md +++ b/docs/content/providers/ecs.md @@ -79,9 +79,35 @@ providers: # ... ``` -Search for services in all clusters. -If set to true the configured clusters will be ignored and the clusters will be discovered. -If set to false the services will be discovered only in configured clusters. +Search for services in clusters list. + +- If set to `true` the configured clusters will be ignored and the clusters will be discovered. +- If set to `false` the services will be discovered only in configured clusters. + +### `clusters` + +_Optional, Default=["default"]_ + +```toml tab="File (TOML)" +[providers.ecs] + cluster = ["default"] + # ... +``` + +```yaml tab="File (YAML)" +providers: + ecs: + clusters: + - default + # ... +``` + +```bash tab="CLI" +--providers.ecs.clusters=default +# ... +``` + +Search for services in clusters list. ### `exposedByDefault` diff --git a/integration/helloworld/helloworld.pb.go b/integration/helloworld/helloworld.pb.go index 96320f02a..61b302678 100644 --- a/integration/helloworld/helloworld.pb.go +++ b/integration/helloworld/helloworld.pb.go @@ -20,9 +20,7 @@ import ( math "math" proto "github.com/golang/protobuf/proto" -) -import ( context "context" grpc "google.golang.org/grpc"