Fix toml option name in nginx_upstream_check (#5917)

This commit is contained in:
Dmitry Ilyin 2019-05-28 22:54:25 +03:00 committed by Daniel Nelson
parent 980b174687
commit eb225b818f
1 changed files with 1 additions and 1 deletions

View File

@ -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"`