From 0326638c90a9a3da89589f9b2ace21e2f7fb8e53 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 24 Dec 2020 12:48:59 +0200 Subject: [PATCH] app/vmalert: typo fix in descriptions for notifier.basicAuth.username and notifier.basicAuth.password command-line flags --- app/vmalert/README.md | 4 ++-- app/vmalert/notifier/init.go | 4 ++-- docs/vmalert.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/vmalert/README.md b/app/vmalert/README.md index 7c72894d5e..6f705db6ff 100644 --- a/app/vmalert/README.md +++ b/app/vmalert/README.md @@ -246,10 +246,10 @@ The shortlist of configuration flags is the following: -metricsAuthKey string Auth key for /metrics. It overrides httpAuth settings -notifier.basicAuth.password array - Optional basic auth password for -datasource.url + Optional basic auth password for -notifier.url Supports array of values separated by comma or specified via multiple flags. -notifier.basicAuth.username array - Optional basic auth username for -datasource.url + Optional basic auth username for -notifier.url Supports array of values separated by comma or specified via multiple flags. -notifier.tlsCAFile array Optional path to TLS CA file to use for verifying connections to -notifier.url. By default system CA is used diff --git a/app/vmalert/notifier/init.go b/app/vmalert/notifier/init.go index 696e398e53..69554b8c0b 100644 --- a/app/vmalert/notifier/init.go +++ b/app/vmalert/notifier/init.go @@ -10,8 +10,8 @@ import ( var ( addrs = flagutil.NewArray("notifier.url", "Prometheus alertmanager URL. Required parameter. e.g. http://127.0.0.1:9093") - basicAuthUsername = flagutil.NewArray("notifier.basicAuth.username", "Optional basic auth username for -datasource.url") - basicAuthPassword = flagutil.NewArray("notifier.basicAuth.password", "Optional basic auth password for -datasource.url") + basicAuthUsername = flagutil.NewArray("notifier.basicAuth.username", "Optional basic auth username for -notifier.url") + basicAuthPassword = flagutil.NewArray("notifier.basicAuth.password", "Optional basic auth password for -notifier.url") tlsInsecureSkipVerify = flagutil.NewArrayBool("notifier.tlsInsecureSkipVerify", "Whether to skip tls verification when connecting to -notifier.url") tlsCertFile = flagutil.NewArray("notifier.tlsCertFile", "Optional path to client-side TLS certificate file to use when connecting to -notifier.url") diff --git a/docs/vmalert.md b/docs/vmalert.md index 7c72894d5e..6f705db6ff 100644 --- a/docs/vmalert.md +++ b/docs/vmalert.md @@ -246,10 +246,10 @@ The shortlist of configuration flags is the following: -metricsAuthKey string Auth key for /metrics. It overrides httpAuth settings -notifier.basicAuth.password array - Optional basic auth password for -datasource.url + Optional basic auth password for -notifier.url Supports array of values separated by comma or specified via multiple flags. -notifier.basicAuth.username array - Optional basic auth username for -datasource.url + Optional basic auth username for -notifier.url Supports array of values separated by comma or specified via multiple flags. -notifier.tlsCAFile array Optional path to TLS CA file to use for verifying connections to -notifier.url. By default system CA is used