~singpolyma/xmpp-certwatch

b86117ceae7c20ee966ac70336fc2b3f03de57cc — Stephen Paul Weber 5 months ago 78d67d3
AnyChecked should use Checked not Ok
1 files changed, 1 insertions(+), 1 deletions(-)

M common/common.go
M common/common.go => common/common.go +1 -1
@@ 233,7 233,7 @@ func CheckOne(hostname string) CheckResult {
	for _, info := range finalResult.Tlsa {
		for _, rdata := range info.Rdata {
			finalResult.AllChecked = finalResult.AllChecked && rdata.Checked
			finalResult.AnyChecked = finalResult.AnyChecked || rdata.Ok
			finalResult.AnyChecked = finalResult.AnyChecked || rdata.Checked
		}
	}