diff --git a/docs/content/providers/consul-catalog.md b/docs/content/providers/consul-catalog.md index 9ea44de94..b27b6cb2a 100644 --- a/docs/content/providers/consul-catalog.md +++ b/docs/content/providers/consul-catalog.md @@ -525,7 +525,7 @@ providers: ``` ```bash tab="CLI" ---providers.consulcatalog.defaultRule=Host(`{{ .Name }}.{{ index .Labels \"customLabel\"}}`) +--providers.consulcatalog.defaultRule='Host(`{{ .Name }}.{{ index .Labels "customLabel"}}`)' # ... ``` diff --git a/docs/content/providers/docker.md b/docs/content/providers/docker.md index 2a11a2e7c..c1cadd86b 100644 --- a/docs/content/providers/docker.md +++ b/docs/content/providers/docker.md @@ -466,7 +466,7 @@ providers: ``` ```bash tab="CLI" ---providers.docker.defaultRule=Host(`{{ .Name }}.{{ index .Labels \"customLabel\"}}`) +--providers.docker.defaultRule='Host(`{{ .Name }}.{{ index .Labels "customLabel"}}`)' # ... ``` diff --git a/docs/content/providers/ecs.md b/docs/content/providers/ecs.md index 80a11a35e..ba5e41088 100644 --- a/docs/content/providers/ecs.md +++ b/docs/content/providers/ecs.md @@ -259,7 +259,7 @@ providers: ``` ```bash tab="CLI" ---providers.ecs.defaultRule=Host(`{{ .Name }}.{{ index .Labels \"customLabel\"}}`) +--providers.ecs.defaultRule='Host(`{{ .Name }}.{{ index .Labels "customLabel"}}`)' # ... ``` diff --git a/docs/content/providers/marathon.md b/docs/content/providers/marathon.md index 0b5c2794b..d8ca6aa21 100644 --- a/docs/content/providers/marathon.md +++ b/docs/content/providers/marathon.md @@ -138,7 +138,7 @@ providers: ``` ```bash tab="CLI" ---providers.marathon.defaultRule=Host(`{{ .Name }}.{{ index .Labels \"customLabel\"}}`) +--providers.marathon.defaultRule='Host(`{{ .Name }}.{{ index .Labels "customLabel"}}`)' # ... ``` diff --git a/docs/content/providers/nomad.md b/docs/content/providers/nomad.md index 5c565b055..b9c01526c 100644 --- a/docs/content/providers/nomad.md +++ b/docs/content/providers/nomad.md @@ -374,7 +374,7 @@ providers: ``` ```bash tab="CLI" ---providers.nomad.defaultRule="Host(`{{ .Name }}.{{ index .Labels \"customLabel\"}}`)" +--providers.nomad.defaultRule='Host(`{{ .Name }}.{{ index .Labels "customLabel"}}`)' # ... ``` diff --git a/docs/content/providers/rancher.md b/docs/content/providers/rancher.md index f43b70b1f..f58c508fd 100644 --- a/docs/content/providers/rancher.md +++ b/docs/content/providers/rancher.md @@ -121,7 +121,7 @@ providers: ``` ```bash tab="CLI" ---providers.rancher.defaultRule=Host(`{{ .Name }}.{{ index .Labels \"customLabel\"}}`) +--providers.rancher.defaultRule='Host(`{{ .Name }}.{{ index .Labels "customLabel"}}`)' # ... ```