From eb225b818fc258401444399d111a4a41b27e5384 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin Date: Tue, 28 May 2019 22:54:25 +0300 Subject: [PATCH] Fix toml option name in nginx_upstream_check (#5917) --- plugins/inputs/nginx_upstream_check/nginx_upstream_check.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/nginx_upstream_check/nginx_upstream_check.go b/plugins/inputs/nginx_upstream_check/nginx_upstream_check.go index e5a2e096d..1293f946e 100644 --- a/plugins/inputs/nginx_upstream_check/nginx_upstream_check.go +++ b/plugins/inputs/nginx_upstream_check/nginx_upstream_check.go @@ -44,7 +44,7 @@ const sampleConfig = ` const description = "Read nginx_upstream_check module status information (https://github.com/yaoweibin/nginx_upstream_check_module)" type NginxUpstreamCheck struct { - URL string `toml:"uls"` + URL string `toml:"url"` Username string `toml:"username"` Password string `toml:"password"`