Fix toml option name in nginx_upstream_check (#5917)
This commit is contained in:
parent
980b174687
commit
eb225b818f
|
@ -44,7 +44,7 @@ const sampleConfig = `
|
||||||
const description = "Read nginx_upstream_check module status information (https://github.com/yaoweibin/nginx_upstream_check_module)"
|
const description = "Read nginx_upstream_check module status information (https://github.com/yaoweibin/nginx_upstream_check_module)"
|
||||||
|
|
||||||
type NginxUpstreamCheck struct {
|
type NginxUpstreamCheck struct {
|
||||||
URL string `toml:"uls"`
|
URL string `toml:"url"`
|
||||||
|
|
||||||
Username string `toml:"username"`
|
Username string `toml:"username"`
|
||||||
Password string `toml:"password"`
|
Password string `toml:"password"`
|
||||||
|
|
Loading…
Reference in New Issue