minor: fix docstring of DNSOnlyPassing (#8318)

In runtime.go it had "duration" but it is actually a boolean.
This commit is contained in:
André 2020-07-16 06:47:33 -07:00 committed by GitHub
parent a93bc5cd18
commit 3bc27df844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ type RuntimeConfig struct {
// whose health checks are in any non-passing state. By
// default, only nodes in a critical state are excluded.
//
// hcl: dns_config { only_passing = "duration" }
// hcl: dns_config { only_passing = (true|false) }
DNSOnlyPassing bool
// DNSRecursorTimeout specifies the timeout in seconds